[PATCH] tsan: ignore interceptors coming from specified libraries

Alexey Samsonov samsonov at google.com
Thu Oct 3 05:41:10 PDT 2013


  LGTM (with nits).


================
Comment at: tsan/lit_tests/ignore_lib0.cc:4
@@ +3,3 @@
+// RUN: echo running w/o suppressions:
+// RUN: LD_LIBRARY_PATH=./Output/ not %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOSUPP
+// RUN: echo running with suppressions:
----------------
I see one more "Output" here :)

================
Comment at: tsan/lit_tests/ignore_lib0.cc.supp:1
@@ +1,2 @@
+called_from_lib:/libignore_lib0.so
+
----------------
FYI: If you prefer, you may add "echo called_from_lib:/libignore_lib0.so > %t.supp" to the RUN: lines in your test cases and avoid these extra files.


http://llvm-reviews.chandlerc.com/D1808



More information about the llvm-commits mailing list