[compiler-rt] r271784 - Update this test yet again, this time based on a nice consecutive pair

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 4 01:24:56 PDT 2016


Author: chandlerc
Date: Sat Jun  4 03:24:56 2016
New Revision: 271784

URL: http://llvm.org/viewvc/llvm-project?rev=271784&view=rev
Log:
Update this test yet again, this time based on a nice consecutive pair
of lines provided with the filecheck output from the previous run. I'll
probably give up after this and get someone with a Windows build to help
me out.

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

Modified: compiler-rt/trunk/test/asan/TestCases/Windows/intercept_strdup.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Windows/intercept_strdup.cc?rev=271784&r1=271783&r2=271784&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/intercept_strdup.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/intercept_strdup.cc Sat Jun  4 03:24:56 2016
@@ -20,8 +20,7 @@ int main() {
 // CHECK:   {{#0 .* main .*}}intercept_strdup.cc:[[@LINE-3]]
 // CHECK: [[ADDR]] is located 1 bytes to the left of 6-byte region
 // CHECK: allocated by thread T0 here:
-// CHECK:   #0 {{.*}} in malloc
-// CHECK:   #1 {{.*FIXME}}
-// CHECK:   #2 {{.* main .*}}intercept_strdup.cc:[[@LINE-15]]
+// CHECK:   #0 {{.*}} in __asan_wrap_strdup
+// CHECK:   #1 {{.*}} in main {{.*}}intercept_strdup.cc:[[@LINE-15]]
   free(ptr);
 }




More information about the llvm-commits mailing list