[PATCH] D40679: [sanitizer] Introduce a vDSO aware time function, and use it in the allocator [redo]

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 1 10:54:11 PST 2017


cryptoad added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_linux_libcdep.cc:690
+  } else {
+    internal_clock_gettime(CLOCK_MONOTONIC, &ts);
+  }
----------------
alekseyshl wrote:
> Does it mean that our allocator is going to be slow on BSD? Should we turn release to OS off by default there then?
Currently BSD doesn't have Scudo, I am not sure it's a big deal for the *San allocators.


https://reviews.llvm.org/D40679





More information about the llvm-commits mailing list