[PATCH] D86168: [DFSan] Handle mmap() calls before interceptors are installed.

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 14:51:26 PDT 2020


vitalybuka added inline comments.


================
Comment at: compiler-rt/lib/dfsan/dfsan_interceptors.cpp:28
+  void *res;
+  if (!interceptors_initialized)
+    res = (void*)syscall(__NR_mmap, addr, length, prot, flags, fd, offset);
----------------
can you comment about threading here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86168/new/

https://reviews.llvm.org/D86168



More information about the llvm-commits mailing list