[PATCH] D58533: [hwasan, asan] Intercept vfork.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 22 16:29:04 PST 2019


pcc added inline comments.


================
Comment at: compiler-rt/lib/hwasan/hwasan_interceptors.cc:273
+#if HWASAN_WITH_INTERCEPTORS && defined(__linux__)
+  __interception::GetRealFunctionAddress("vfork", (uptr *)&REAL(vfork), 0, 0);
 #if !defined(__aarch64__)
----------------
Shouldn't it be only this line that is protected with the `defined(__linux__)`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D58533





More information about the llvm-commits mailing list