aboutsummaryrefslogtreecommitdiff
path: root/test/asan/TestCases/Posix/asan-symbolize-bad-path.cc
diff options
context:
space:
mode:
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