summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-03-23 23:35:00 +0000
committerAdrian Prantl <aprantl@apple.com>2017-03-23 23:35:00 +0000
commitf0ffc5233d7042aa426e2305a64e6a09ba4e6c8a (patch)
tree1cbbe72be57c6287661752ec8a25c4ce64fe796c /llvm/test/DebugInfo/X86
parent11873949e0c418c1e72730e5a41dd32e7cf04b80 (diff)
downloadbcm5719-llvm-f0ffc5233d7042aa426e2305a64e6a09ba4e6c8a.tar.gz
bcm5719-llvm-f0ffc5233d7042aa426e2305a64e6a09ba4e6c8a.zip
Fix a bug when emitting debug info for partially constant global variables.
While fixing a malformed testcase, I discovered that the code exercised by it was wrong, too. llvm-svn: 298664
Diffstat (limited to 'llvm/test/DebugInfo/X86')
-rw-r--r--llvm/test/DebugInfo/X86/split-global.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/X86/split-global.ll b/llvm/test/DebugInfo/X86/split-global.ll
index 536ed045b5d..3cdecdafc8d 100644
--- a/llvm/test/DebugInfo/X86/split-global.ll
+++ b/llvm/test/DebugInfo/X86/split-global.ll
@@ -30,7 +30,7 @@ target triple = "x86_64-apple-macosx10.12.0"
@point.y = global i32 2, align 4, !dbg !13
@point.x = global i32 1, align 4, !dbg !12
-@part_const.x = global i32 1, align 4, !dbg !15
+@part_const.x = global i32 1, align 4, !dbg !14
!llvm.dbg.cu = !{!1}
!llvm.module.flags = !{!10, !11}
OpenPOWER on IntegriCloud