================
Comment at: test/Driver/fsanitize-blacklist.c:2-3
@@ +1,4 @@
+// General blacklist usage.
+// RUN: %clang -fsanitize=address -fsanitize-blacklist=%s %s -### 2>&1 | 
FileCheck %s --check-prefix=CHECK-BLACKLIST
+// CHECK-BLACKLIST: -fsanitize-blacklist
+
----------------
Alexey Samsonov wrote:
> Richard Smith wrote:
> > It'd be good to have a simple test that the flag is being correctly passed 
> > to the ASan pass (maybe just CHECK-NOT: asan in the generated IR?)
> Do you mean creating a test together with minimalistic blacklist and checking 
> that IR for blacklisted functions doesn't have ASan instrumentation (in 
> addition to ASan output tests)?
Yes, exactly that.


http://llvm-reviews.chandlerc.com/D152
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to