[llvm-commits] [compiler-rt] r167721 - /compiler-rt/trunk/lib/asan/lit_tests/use-after-free.cc
Alexander Potapenko
glider at google.com
Mon Nov 12 03:27:24 PST 2012
Author: glider
Date: Mon Nov 12 05:27:24 2012
New Revision: 167721
URL: http://llvm.org/viewvc/llvm-project?rev=167721&view=rev
Log:
[ASan] Fix the golden stack for use-after-free.cc.
The change has been caused by the switch to llvm-symbolizer, that prints inlined stack frames.
This should fix PR 14251
Modified:
compiler-rt/trunk/lib/asan/lit_tests/use-after-free.cc
Modified: compiler-rt/trunk/lib/asan/lit_tests/use-after-free.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/lit_tests/use-after-free.cc?rev=167721&r1=167720&r2=167721&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/lit_tests/use-after-free.cc (original)
+++ compiler-rt/trunk/lib/asan/lit_tests/use-after-free.cc Mon Nov 12 05:27:24 2012
@@ -30,10 +30,11 @@
// CHECK-Linux: {{ #0 0x.* in .*free}}
// CHECK-Linux: {{ #1 0x.* in main .*use-after-free.cc:21}}
- // CHECK-Darwin: {{ #0 0x.* in .*mz_free.*}}
+ // CHECK-Darwin: {{ #0 0x.* in .*free_common.*}}
+ // CHECK-Darwin: {{ #1 0x.* in .*mz_free.*}}
// We override free() on Darwin, thus no malloc_zone_free
- // CHECK-Darwin: {{ #1 0x.* in _?wrap_free}}
- // CHECK-Darwin: {{ #2 0x.* in _?main .*use-after-free.cc:21}}
+ // CHECK-Darwin: {{ #2 0x.* in _?wrap_free}}
+ // CHECK-Darwin: {{ #3 0x.* in _?main .*use-after-free.cc:21}}
// CHECK: {{previously allocated by thread T0 here:}}
More information about the llvm-commits
mailing list