summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Generic/enum.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/DebugInfo/Generic/enum.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/DebugInfo/Generic/enum.ll')
-rw-r--r--llvm/test/DebugInfo/Generic/enum.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/Generic/enum.ll b/llvm/test/DebugInfo/Generic/enum.ll
index ef00b2f84e0..b2154241126 100644
--- a/llvm/test/DebugInfo/Generic/enum.ll
+++ b/llvm/test/DebugInfo/Generic/enum.ll
@@ -70,7 +70,7 @@ attributes #1 = { nounwind readnone }
!15 = !DISubroutineType(types: !16)
!16 = !{null}
!17 = !{!18}
-!18 = !DIGlobalVariableExpression(var: !DIGlobalVariable(name: "a", line: 1, isLocal: false, isDefinition: true, scope: null, file: !14, type: !3))
+!18 = !DIGlobalVariable(name: "a", line: 1, isLocal: false, isDefinition: true, scope: null, file: !14, type: !3)
!19 = !{i32 2, !"Dwarf Version", i32 3}
!20 = !DILocalVariable(name: "b", line: 4, scope: !13, file: !14, type: !21)
!21 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
OpenPOWER on IntegriCloud