summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/lit_tests/global-overflow.cc
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-12-28 08:38:09 +0000
committerAlexey Samsonov <samsonov@google.com>2012-12-28 08:38:09 +0000
commitf96bfd884920bc326ca86772a06d9d315d1498b0 (patch)
treea8f6b39d53a8d398f12c35d4c2702d53e1ccb325 /compiler-rt/lib/asan/lit_tests/global-overflow.cc
parent9785f519b48eb54fb63773fb629439d1859a1bda (diff)
downloadbcm5719-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/global-overflow.cc')
-rw-r--r--compiler-rt/lib/asan/lit_tests/global-overflow.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/lit_tests/global-overflow.cc b/compiler-rt/lib/asan/lit_tests/global-overflow.cc
index fec3ce8340e..6a2f12e106f 100644
--- a/compiler-rt/lib/asan/lit_tests/global-overflow.cc
+++ b/compiler-rt/lib/asan/lit_tests/global-overflow.cc
@@ -17,7 +17,7 @@ int main(int argc, char **argv) {
memset(ZZZ, 0, 10);
int res = YYY[argc * 10]; // BOOOM
// CHECK: {{READ of size 1 at 0x.* thread T0}}
- // CHECK: {{ #0 0x.* in _?main .*global-overflow.cc:18}}
+ // CHECK: {{ #0 0x.* in _?main .*global-overflow.cc:}}[[@LINE-2]]
// CHECK: {{0x.* is located 0 bytes to the right of global variable}}
// CHECK: {{.*YYY.* of size 10}}
res += XXX[argc] + ZZZ[argc];
OpenPOWER on IntegriCloud