forked from OSchip/llvm-project
19 lines
800 B
LLVM
19 lines
800 B
LLVM
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
|
|
; RUN: verify-uselistorder %s
|
|
|
|
; CHECK: !named = !{!0, !1, !2, !3, !4, !5}
|
|
!named = !{!0, !1, !2, !3, !4, !5}
|
|
|
|
; CHECK: !0 = !DIExpression()
|
|
; CHECK-NEXT: !1 = !DIExpression(DW_OP_deref)
|
|
; CHECK-NEXT: !2 = !DIExpression(DW_OP_plus, 3)
|
|
; CHECK-NEXT: !3 = !DIExpression(DW_OP_LLVM_fragment, 3, 7)
|
|
; CHECK-NEXT: !4 = !DIExpression(DW_OP_deref, DW_OP_plus, 3, DW_OP_LLVM_fragment, 3, 7)
|
|
; CHECK-NEXT: !5 = !DIExpression(DW_OP_constu, 2, DW_OP_swap, DW_OP_xderef)
|
|
!0 = !DIExpression()
|
|
!1 = !DIExpression(DW_OP_deref)
|
|
!2 = !DIExpression(DW_OP_plus, 3)
|
|
!3 = !DIExpression(DW_OP_LLVM_fragment, 3, 7)
|
|
!4 = !DIExpression(DW_OP_deref, DW_OP_plus, 3, DW_OP_LLVM_fragment, 3, 7)
|
|
!5 = !DIExpression(DW_OP_constu, 2, DW_OP_swap, DW_OP_xderef)
|