diff options
Diffstat (limited to 'lang/hermes/files/patch-lib_VM_Instrumentation_ProcessStats.cpp')
-rw-r--r-- | lang/hermes/files/patch-lib_VM_Instrumentation_ProcessStats.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/hermes/files/patch-lib_VM_Instrumentation_ProcessStats.cpp b/lang/hermes/files/patch-lib_VM_Instrumentation_ProcessStats.cpp new file mode 100644 index 000000000000..584ac722c250 --- /dev/null +++ b/lang/hermes/files/patch-lib_VM_Instrumentation_ProcessStats.cpp @@ -0,0 +1,11 @@ +--- lib/VM/Instrumentation/ProcessStats.cpp.orig 2020-09-11 02:29:31 UTC ++++ lib/VM/Instrumentation/ProcessStats.cpp +@@ -69,6 +69,8 @@ ProcessStats::Info getProcessStatSnapshot() { + va *= PS / 1024; + #elif defined(__EMSCRIPTEN__) + rss = va = 0; ++#elif defined(__FreeBSD__) ++ rss = va = 0; // TODO implement getProcessStatSnapshot + #else + #error "Unsupported platform" + #endif |