summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2012-08-15 14:00:09 +0000
committerAlexander Potapenko <glider@google.com>2012-08-15 14:00:09 +0000
commitd14db182365578e79f5f60c5cf1052d5f9a0edef (patch)
tree6813f7fe88d90830b3353aab73a6a8ed960e7fe1 /lib
parent5cfa30e23c092df3265b1ff9e205f36874a2e194 (diff)
downloadcompiler-rt-d14db182365578e79f5f60c5cf1052d5f9a0edef.tar.gz
Check for filenames and numbers to detect possible problems with asan_symbolize.py on -fPIE binaries.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/asan/output_tests/use-after-free.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/asan/output_tests/use-after-free.c b/lib/asan/output_tests/use-after-free.c
index 4ee541a1c..de9e72803 100644
--- a/lib/asan/output_tests/use-after-free.c
+++ b/lib/asan/output_tests/use-after-free.c
@@ -6,5 +6,9 @@ int main() {
}
// CHECK: heap-use-after-free
+// CHECK: free
+// CHECK: main{{.*}}use-after-free.c:4
+// CHECK: malloc
+// CHECK: main{{.*}}use-after-free.c:3
// CHECKSLEEP: Sleeping for 1 second
// CHECKSTRIP-NOT: #0 0x{{.*}} ({{[/].*}})