[PATCH] D40766: Handle NetBSD symbol renaming in msan_interceptors.cc

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 16:47:23 PST 2017


krytarowski added inline comments.


================
Comment at: lib/msan/msan_interceptors.cc:47
+#if SANITIZER_NETBSD
+#define sigaction_symname __sigaction14
+#else
----------------
vitalybuka wrote:
> Why not the same for __libc_thr_keycreate?
This one we are not intercepting here, but calling with REAL(). We need to use a 3rd party symbol name in order to not mangle too much, as there are struct fields named 'sigaction'.


Repository:
  rL LLVM

https://reviews.llvm.org/D40766





More information about the llvm-commits mailing list