summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Linker')
-rw-r--r--llvm/test/Linker/Inputs/mdlocation.ll4
-rw-r--r--llvm/test/Linker/mdlocation.ll4
2 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Linker/Inputs/mdlocation.ll b/llvm/test/Linker/Inputs/mdlocation.ll
index 9c2f65d0a59..7ba19ffc76b 100644
--- a/llvm/test/Linker/Inputs/mdlocation.ll
+++ b/llvm/test/Linker/Inputs/mdlocation.ll
@@ -7,3 +7,7 @@
; Test distinct nodes.
!4 = distinct !DILocation(line: 3, column: 7, scope: !0)
!5 = distinct !DILocation(line: 3, column: 7, scope: !0, inlinedAt: !4)
+
+!llvm.dbg.cu = !{!6}
+!6 = distinct !DICompileUnit(language: DW_LANG_C89, file: !7, subprograms: !{!0})
+!7 = !DIFile(filename: "source.c", directory: "/dir")
diff --git a/llvm/test/Linker/mdlocation.ll b/llvm/test/Linker/mdlocation.ll
index b42058bac60..7d8d165755b 100644
--- a/llvm/test/Linker/mdlocation.ll
+++ b/llvm/test/Linker/mdlocation.ll
@@ -24,3 +24,7 @@
; Test distinct nodes.
!4 = distinct !DILocation(line: 3, column: 7, scope: !0)
!5 = distinct !DILocation(line: 3, column: 7, scope: !0, inlinedAt: !4)
+
+!llvm.dbg.cu = !{!6}
+!6 = distinct !DICompileUnit(language: DW_LANG_C89, file: !7, subprograms: !{!0})
+!7 = !DIFile(filename: "source.c", directory: "/dir")
OpenPOWER on IntegriCloud