summaryrefslogtreecommitdiff
path: root/test/COFF/reloc-discarded-early.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/COFF/reloc-discarded-early.s')
-rw-r--r--test/COFF/reloc-discarded-early.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/COFF/reloc-discarded-early.s b/test/COFF/reloc-discarded-early.s
new file mode 100644
index 0000000000000..6d1043dbfa743
--- /dev/null
+++ b/test/COFF/reloc-discarded-early.s
@@ -0,0 +1,8 @@
+# RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s
+# RUN: lld-link -entry:__ImageBase -subsystem:console -debug %t.obj
+
+.section .debug_info,"dr"
+.quad .Ldrectve
+
+.section .drectve
+.Ldrectve: