[compiler-rt] r174861 - [sanitizer] Fix line numbers in a sanitizer lit test.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Sun Feb 10 23:19:24 PST 2013
Author: eugenis
Date: Mon Feb 11 01:19:24 2013
New Revision: 174861
URL: http://llvm.org/viewvc/llvm-project?rev=174861&view=rev
Log:
[sanitizer] Fix line numbers in a sanitizer lit test.
Modified:
compiler-rt/trunk/lib/asan/lit_tests/use-after-free-right.cc
Modified: compiler-rt/trunk/lib/asan/lit_tests/use-after-free-right.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/lit_tests/use-after-free-right.cc?rev=174861&r1=174860&r2=174861&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/lit_tests/use-after-free-right.cc (original)
+++ compiler-rt/trunk/lib/asan/lit_tests/use-after-free-right.cc Mon Feb 11 01:19:24 2013
@@ -26,21 +26,21 @@ int main() {
// CHECK: {{.*ERROR: AddressSanitizer: heap-use-after-free on address}}
// CHECK: {{0x.* at pc 0x.* bp 0x.* sp 0x.*}}
// CHECK: {{WRITE of size 1 at 0x.* thread T0}}
- // CHECK: {{ #0 0x.* in _?main .*use-after-free-right.cc:22}}
+ // CHECK: {{ #0 0x.* in _?main .*use-after-free-right.cc:25}}
// CHECK: {{0x.* is located 0 bytes inside of 1-byte region .0x.*,0x.*}}
// CHECK: {{freed by thread T0 here:}}
// CHECK-Linux: {{ #0 0x.* in .*free}}
- // CHECK-Linux: {{ #1 0x.* in main .*use-after-free-right.cc:21}}
+ // CHECK-Linux: {{ #1 0x.* in main .*use-after-free-right.cc:24}}
// CHECK-Darwin: {{ #0 0x.* in _?wrap_free}}
- // CHECK-Darwin: {{ #1 0x.* in _?main .*use-after-free-right.cc:21}}
+ // CHECK-Darwin: {{ #1 0x.* in _?main .*use-after-free-right.cc:24}}
// CHECK: {{previously allocated by thread T0 here:}}
// CHECK-Linux: {{ #0 0x.* in .*malloc}}
- // CHECK-Linux: {{ #1 0x.* in main .*use-after-free-right.cc:20}}
+ // CHECK-Linux: {{ #1 0x.* in main .*use-after-free-right.cc:23}}
// CHECK-Darwin: {{ #0 0x.* in _?wrap_malloc.*}}
- // CHECK-Darwin: {{ #1 0x.* in _?main .*use-after-free-right.cc:20}}
+ // CHECK-Darwin: {{ #1 0x.* in _?main .*use-after-free-right.cc:23}}
}
More information about the llvm-commits
mailing list