summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/only-needed-debug-metadata.ll
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-12-16 01:00:30 +0000
committerAdrian Prantl <aprantl@apple.com>2016-12-16 01:00:30 +0000
commit03c6d31a3b308afb2c6a4c506002c88c48c9d58d (patch)
tree755debe0ba8d4df68b9f524f8f689e15b4ec1a4f /llvm/test/Linker/only-needed-debug-metadata.ll
parent6f1daa4660edb7f401c67b3e23d213bce103bca9 (diff)
downloadbcm5719-llvm-03c6d31a3b308afb2c6a4c506002c88c48c9d58d.tar.gz
bcm5719-llvm-03c6d31a3b308afb2c6a4c506002c88c48c9d58d.zip
Revert "[IR] Remove the DIExpression field from DIGlobalVariable."
This reverts commit 289902 while investigating bot berakage. llvm-svn: 289906
Diffstat (limited to 'llvm/test/Linker/only-needed-debug-metadata.ll')
-rw-r--r--llvm/test/Linker/only-needed-debug-metadata.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Linker/only-needed-debug-metadata.ll b/llvm/test/Linker/only-needed-debug-metadata.ll
index 216c20cf732..2d1949fb0ec 100644
--- a/llvm/test/Linker/only-needed-debug-metadata.ll
+++ b/llvm/test/Linker/only-needed-debug-metadata.ll
@@ -38,8 +38,8 @@ define i32 @unused() !dbg !10 {
!11 = !DISubroutineType(types: !12)
!12 = !{!7}
!13 = !{!14, !15}
-!14 = !DIGlobalVariableExpression(var: !DIGlobalVariable(name: "X", scope: !0, file: !1, line: 1, type: !7, isLocal: false, isDefinition: true))
-!15 = !DIGlobalVariableExpression(var: !DIGlobalVariable(name: "U", scope: !0, file: !1, line: 2, type: !7, isLocal: false, isDefinition: true))
+!14 = !DIGlobalVariable(name: "X", scope: !0, file: !1, line: 1, type: !7, isLocal: false, isDefinition: true)
+!15 = !DIGlobalVariable(name: "U", scope: !0, file: !1, line: 2, type: !7, isLocal: false, isDefinition: true)
!16 = !{i32 2, !"Dwarf Version", i32 4}
!17 = !{i32 2, !"Debug Info Version", i32 3}
!18 = !{!"clang version 3.8.0 (trunk 251407) (llvm/trunk 251401)"}
OpenPOWER on IntegriCloud