summaryrefslogtreecommitdiff
path: root/test/ELF/gdb-index-no-debug.s
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-01-19 10:05:49 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-01-19 10:05:49 +0000
commite2fd426bdafe9f5c10066d3926ece6e342184a67 (patch)
treebfbbb5fd38554e6b8988b7a217e9fd0623728d7d /test/ELF/gdb-index-no-debug.s
parent84c4061b34e048f47e5eb4fbabc1558495e8157c (diff)
Notes
Diffstat (limited to 'test/ELF/gdb-index-no-debug.s')
-rw-r--r--test/ELF/gdb-index-no-debug.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ELF/gdb-index-no-debug.s b/test/ELF/gdb-index-no-debug.s
new file mode 100644
index 000000000000..dba5fcf26385
--- /dev/null
+++ b/test/ELF/gdb-index-no-debug.s
@@ -0,0 +1,8 @@
+# REQUIRES: x86
+# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
+# RUN: ld.lld -o %t.exe -gdb-index %t.o
+# RUN: llvm-objdump --section-headers %t.exe | FileCheck %s
+# CHECK-NOT: .gdb_index
+
+.global _start
+_start: