diff options
author | Alexey Samsonov <samsonov@google.com> | 2012-12-28 08:38:09 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2012-12-28 08:38:09 +0000 |
commit | f96bfd884920bc326ca86772a06d9d315d1498b0 (patch) | |
tree | a8f6b39d53a8d398f12c35d4c2702d53e1ccb325 /compiler-rt/lib/asan/lit_tests/heap-overflow.cc | |
parent | 9785f519b48eb54fb63773fb629439d1859a1bda (diff) | |
download | bcm5719-llvm-f96bfd884920bc326ca86772a06d9d315d1498b0.tar.gz bcm5719-llvm-f96bfd884920bc326ca86772a06d9d315d1498b0.zip |
Make ASan and TSan tests a bit less brittle with @LINE FileCheck macro
llvm-svn: 171181
Diffstat (limited to 'compiler-rt/lib/asan/lit_tests/heap-overflow.cc')
-rw-r--r-- | compiler-rt/lib/asan/lit_tests/heap-overflow.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/lit_tests/heap-overflow.cc b/compiler-rt/lib/asan/lit_tests/heap-overflow.cc index 2cd6d03eea2..2648ec7e5f1 100644 --- a/compiler-rt/lib/asan/lit_tests/heap-overflow.cc +++ b/compiler-rt/lib/asan/lit_tests/heap-overflow.cc @@ -22,7 +22,7 @@ int main(int argc, char **argv) { memset(x, 0, 10); int res = x[argc * 10]; // BOOOM // CHECK: {{READ of size 1 at 0x.* thread T0}} - // CHECK: {{ #0 0x.* in _?main .*heap-overflow.cc:23}} + // CHECK: {{ #0 0x.* in _?main .*heap-overflow.cc:}}[[@LINE-2]] // CHECK: {{0x.* is located 0 bytes to the right of 10-byte region}} // CHECK: {{allocated by thread T0 here:}} |