[compiler-rt] r269311 - Update test expectations after r269291 (Fix a crash when demangling Swift symbols).

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Thu May 12 10:08:25 PDT 2016


Author: kuba.brecka
Date: Thu May 12 12:08:25 2016
New Revision: 269311

URL: http://llvm.org/viewvc/llvm-project?rev=269311&view=rev
Log:
Update test expectations after r269291 (Fix a crash when demangling Swift symbols).


Modified:
    compiler-rt/trunk/test/asan/TestCases/Darwin/atos-symbolizer-dyld-root-path.cc
    compiler-rt/trunk/test/asan/TestCases/Darwin/atos-symbolizer.cc
    compiler-rt/trunk/test/asan/TestCases/Darwin/dladdr-demangling.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Darwin/atos-symbolizer-dyld-root-path.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Darwin/atos-symbolizer-dyld-root-path.cc?rev=269311&r1=269310&r2=269311&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Darwin/atos-symbolizer-dyld-root-path.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Darwin/atos-symbolizer-dyld-root-path.cc Thu May 12 12:08:25 2016
@@ -14,8 +14,8 @@ int main(int argc, char **argv) {
   int res = x[argc];
   free(x);
   free(x + argc - 1);  // BOOM
-  // CHECK: AddressSanitizer: attempting double-free{{.*}}in thread T0
   // CHECK: Using atos at user-specified path:
+  // CHECK: AddressSanitizer: attempting double-free{{.*}}in thread T0
   // CHECK: #0 0x{{.*}} in {{.*}}free
   // CHECK: #1 0x{{.*}} in main {{.*}}atos-symbolizer-dyld-root-path.cc:[[@LINE-4]]
   // CHECK: freed by thread T0 here:

Modified: compiler-rt/trunk/test/asan/TestCases/Darwin/atos-symbolizer.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Darwin/atos-symbolizer.cc?rev=269311&r1=269310&r2=269311&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Darwin/atos-symbolizer.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Darwin/atos-symbolizer.cc Thu May 12 12:08:25 2016
@@ -11,8 +11,8 @@ int main(int argc, char **argv) {
   int res = x[argc];
   free(x);
   free(x + argc - 1);  // BOOM
-  // CHECK: AddressSanitizer: attempting double-free{{.*}}in thread T0
   // CHECK: Using atos at user-specified path:
+  // CHECK: AddressSanitizer: attempting double-free{{.*}}in thread T0
   // CHECK: #0 0x{{.*}} in {{.*}}free
   // CHECK: #1 0x{{.*}} in main {{.*}}atos-symbolizer.cc:[[@LINE-4]]
   // CHECK: freed by thread T0 here:

Modified: compiler-rt/trunk/test/asan/TestCases/Darwin/dladdr-demangling.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Darwin/dladdr-demangling.cc?rev=269311&r1=269310&r2=269311&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Darwin/dladdr-demangling.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Darwin/dladdr-demangling.cc Thu May 12 12:08:25 2016
@@ -13,9 +13,9 @@ class MyClass {
     char *x = (char*)malloc(n * sizeof(char));
     free(x);
     return x[5];
+    // CHECK-DLADDR: Using dladdr symbolizer
     // CHECK: {{.*ERROR: AddressSanitizer: heap-use-after-free on address}}
     // CHECK: {{READ of size 1 at 0x.* thread T0}}
-    // CHECK-DLADDR: Using dladdr symbolizer
     // CHECK-DLADDR: failed to fork
     // CHECK: {{    #0 0x.* in MyClass::my_function\(int\)}}
     // CHECK: {{freed by thread T0 here:}}




More information about the llvm-commits mailing list