[PATCH] D18121: [sanitizer] On OS X, verify that interceptors work and abort if not

Alexander Potapenko via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 02:16:39 PDT 2016


glider accepted this revision.
glider added a comment.
This revision is now accepted and ready to land.

LGTM


================
Comment at: test/tsan/Darwin/dlopen.cc:29
@@ +28,3 @@
+#if INSTRUMENTED_PART == 1
+int main() {
+  fprintf(stderr, "Hello world.\n");
----------------
I'm curious how does the dynamic linker behave in the presence of another main().
Maybe rename it to foo() just to be sure?


http://reviews.llvm.org/D18121





More information about the llvm-commits mailing list