diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-05-12 17:08:25 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-05-12 17:08:25 +0000 |
commit | 85e51b8c7512d08aee8bff2242d611abe6e8aa37 (patch) | |
tree | 5a54468ef105fcc4e8614da07d5d740b56fe07fa /test | |
parent | 29658e533214bb2d8d563e2363353223d556bc35 (diff) |
Update test expectations after r269291 (Fix a crash when demangling Swift symbols).
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@269311 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/asan/TestCases/Darwin/atos-symbolizer-dyld-root-path.cc | 2 | ||||
-rw-r--r-- | test/asan/TestCases/Darwin/atos-symbolizer.cc | 2 | ||||
-rw-r--r-- | test/asan/TestCases/Darwin/dladdr-demangling.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/asan/TestCases/Darwin/atos-symbolizer-dyld-root-path.cc b/test/asan/TestCases/Darwin/atos-symbolizer-dyld-root-path.cc index 4595fb547..d2facd6d0 100644 --- a/test/asan/TestCases/Darwin/atos-symbolizer-dyld-root-path.cc +++ b/test/asan/TestCases/Darwin/atos-symbolizer-dyld-root-path.cc @@ -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: diff --git a/test/asan/TestCases/Darwin/atos-symbolizer.cc b/test/asan/TestCases/Darwin/atos-symbolizer.cc index 2a9ffbc5b..b4a868e24 100644 --- a/test/asan/TestCases/Darwin/atos-symbolizer.cc +++ b/test/asan/TestCases/Darwin/atos-symbolizer.cc @@ -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: diff --git a/test/asan/TestCases/Darwin/dladdr-demangling.cc b/test/asan/TestCases/Darwin/dladdr-demangling.cc index 33bd3f8ae..6f52b93da 100644 --- a/test/asan/TestCases/Darwin/dladdr-demangling.cc +++ b/test/asan/TestCases/Darwin/dladdr-demangling.cc @@ -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:}} |