summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/Posix/asan-symbolize-bad-path.cc
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-12-30 11:52:19 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-12-30 11:52:19 +0000
commit5c909fa013fc285f010a95e8d387e0ef3412da9c (patch)
tree1059d068ad281f4776ff44cd414574f99a460023 /test/asan/TestCases/Posix/asan-symbolize-bad-path.cc
parentf31bcc68c72371a2bf63aead9f3373a1ff2053b6 (diff)
Notes
Diffstat (limited to 'test/asan/TestCases/Posix/asan-symbolize-bad-path.cc')
-rw-r--r--test/asan/TestCases/Posix/asan-symbolize-bad-path.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/asan/TestCases/Posix/asan-symbolize-bad-path.cc b/test/asan/TestCases/Posix/asan-symbolize-bad-path.cc
new file mode 100644
index 000000000000..22c03e8ddced
--- /dev/null
+++ b/test/asan/TestCases/Posix/asan-symbolize-bad-path.cc
@@ -0,0 +1,4 @@
+// Test that asan_symbolize does not hang when provided with an non-existing
+// path.
+// RUN: echo '#0 0xabcdabcd (%T/bad/path+0x1234)' | %asan_symbolize | FileCheck %s
+// CHECK: #0 0xabcdabcd