]> granicus.if.org Git - llvm/commitdiff
Fix a bug in a historic bitcode testcase. NFC.
authorAdrian Prantl <aprantl@apple.com>
Thu, 21 Sep 2017 23:14:52 +0000 (23:14 +0000)
committerAdrian Prantl <aprantl@apple.com>
Thu, 21 Sep 2017 23:14:52 +0000 (23:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313939 91177308-0d34-0410-b5e6-96231b3b80d8

test/Bitcode/DIExpression-4.0.ll
test/Bitcode/DIExpression-4.0.ll.bc

index 848de9a417360225c6173405ff424382d31decc1..38c1ec2e02f1861910626e0cd84f55ca96d0a408 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: llvm-dis -o - %s.bc | FileCheck %s
 
-@g = common global i32 0, align 4, !dbg !0
+@g = common global i8 0, align 4, !dbg !0
 
 !llvm.dbg.cu = !{!1}
 !llvm.module.flags = !{!7, !8}
@@ -14,7 +14,7 @@
 ; Old-style DIExpression bitcode records using DW_OP_bit_piece should be
 ; upgraded to DW_OP_LLVM_fragment.
 ;
-; CHECK: !DIExpression(DW_OP_LLVM_fragment, 8, 32)
-!6 = !DIExpression(DW_OP_bit_piece, 8, 32)
+; CHECK: !DIExpression(DW_OP_LLVM_fragment, 8, 8)
+!6 = !DIExpression(DW_OP_bit_piece, 8, 8)
 !7 = !{i32 2, !"Dwarf Version", i32 4}
 !8 = !{i32 2, !"Debug Info Version", i32 3}
index 2ec9a592cf62ed2e71d55dff6234bd864a96f8bd..ea8a5b2d511b3f177f26cd6131b1776d9fcbeb06 100644 (file)
Binary files a/test/Bitcode/DIExpression-4.0.ll.bc and b/test/Bitcode/DIExpression-4.0.ll.bc differ