aboutsummaryrefslogtreecommitdiff
path: root/lang/hermes/files/patch-lib_VM_Instrumentation_ProcessStats.cpp
blob: 584ac722c250c414c50c232acfa6366a318dae31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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