Fix a bug in a historic bitcode testcase. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313939 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Adrian Prantl 2017-09-21 23:14:52 +00:00
parent 203c90ba80
commit 93978cb0f6
2 changed files with 3 additions and 3 deletions

View 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}

Binary file not shown.