summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/asan/TestCases/long-object-path.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/asan/TestCases/long-object-path.cc')
-rw-r--r--compiler-rt/test/asan/TestCases/long-object-path.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler-rt/test/asan/TestCases/long-object-path.cc b/compiler-rt/test/asan/TestCases/long-object-path.cc
new file mode 100644
index 00000000000..592b0abb07d
--- /dev/null
+++ b/compiler-rt/test/asan/TestCases/long-object-path.cc
@@ -0,0 +1,7 @@
+// RUN: mkdir -p %T/a-long-directory-name-to-test-allocations-for-exceptions-in-_dl_lookup_symbol_x-since-glibc-2.27
+// RUN: %clangxx_asan -g %s -o %T/long-object-path
+// RUN: %run %T/a-*/../a-*/../a-*/../a-*/../a-*/../a-*/../a-*/../a-*/../long-object-path
+
+int main(void) {
+ return 0;
+}
OpenPOWER on IntegriCloud