[ASan] Allow leading underscore in function name to please output tests on Mac
authorAlexey Samsonov <samsonov@google.com>
Thu, 13 Dec 2012 11:11:28 +0000 (11:11 +0000)
committerAlexey Samsonov <samsonov@google.com>
Thu, 13 Dec 2012 11:11:28 +0000 (11:11 +0000)
llvm-svn: 170121

compiler-rt/lib/asan/lit_tests/overflow-in-qsort.cc

index ba49395..3ba39f4 100644 (file)
@@ -31,5 +31,5 @@ int main() {
 }
 
 // CHECK: ERROR: AddressSanitizer: global-buffer-overflow
-// CHECK: #0{{.*}} in QsortCallback
+// CHECK: #0{{.*}} in {{_?}}QsortCallback
 // CHECK: is located 0 bytes to the right of global variable 'global_array