[compiler-rt] r228573 - [ASan/Win] Add a test case for PR22431

Timur Iskhodzhanov timurrrr at google.com
Mon Feb 9 04:47:52 PST 2015


Author: timurrrr
Date: Mon Feb  9 06:47:51 2015
New Revision: 228573

URL: http://llvm.org/viewvc/llvm-project?rev=228573&view=rev
Log:
[ASan/Win] Add a test case for PR22431

Modified:
    compiler-rt/trunk/test/asan/TestCases/Windows/iostream_sbo.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Windows/iostream_sbo.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Windows/iostream_sbo.cc?rev=228573&r1=228572&r2=228573&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/iostream_sbo.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/iostream_sbo.cc Mon Feb  9 06:47:51 2015
@@ -1,5 +1,10 @@
+// First, check this works with the default blacklist:
 // RUN: %clang_cl_asan -O0 %s -Fe%t
 // RUN: echo "42" | %run %t 2>&1 | FileCheck %s
+//
+// Then, make sure it still works when a user uses his own blacklist file:
+// RUN: %clang_cl_asan -O0 %s -fsanitize-blacklist=%p/../Helpers/initialization-blacklist.txt -Fe%t2
+// RUN: echo "42" | %run %t2 2>&1 | FileCheck %s
 
 #include <iostream>
 





More information about the llvm-commits mailing list