2015-02-13 09:10:38 +08:00
|
|
|
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
|
|
|
|
; RUN: verify-uselistorder %s
|
|
|
|
|
2015-02-13 09:14:58 +08:00
|
|
|
; CHECK: !named = !{!0, !0, !1, !2, !3, !4, !5, !6, !7, !8, !8}
|
|
|
|
!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10}
|
2015-02-13 09:10:38 +08:00
|
|
|
|
|
|
|
; CHECK: !0 = !MDSubrange(count: 3)
|
|
|
|
; CHECK-NEXT: !1 = !MDSubrange(count: 3, lowerBound: 4)
|
|
|
|
; CHECK-NEXT: !2 = !MDSubrange(count: 3, lowerBound: -5)
|
|
|
|
!0 = !MDSubrange(count: 3)
|
|
|
|
!1 = !MDSubrange(count: 3, lowerBound: 0)
|
|
|
|
|
|
|
|
!2 = !MDSubrange(count: 3, lowerBound: 4)
|
|
|
|
!3 = !MDSubrange(count: 3, lowerBound: -5)
|
2015-02-13 09:14:11 +08:00
|
|
|
|
|
|
|
; CHECK-NEXT: !3 = !MDEnumerator(value: 7, name: "seven")
|
|
|
|
; CHECK-NEXT: !4 = !MDEnumerator(value: -8, name: "negeight")
|
|
|
|
; CHECK-NEXT: !5 = !MDEnumerator(value: 0, name: "")
|
|
|
|
!4 = !MDEnumerator(value: 7, name: "seven")
|
|
|
|
!5 = !MDEnumerator(value: -8, name: "negeight")
|
|
|
|
!6 = !MDEnumerator(value: 0, name: "")
|
2015-02-13 09:14:58 +08:00
|
|
|
|
|
|
|
; CHECK-NEXT: !6 = !MDBasicType(tag: DW_TAG_base_type, name: "name", size: 1, align: 2, encoding: 3)
|
|
|
|
; CHECK-NEXT: !7 = !MDBasicType(tag: DW_TAG_unspecified_type, name: "decltype(nullptr)")
|
|
|
|
; CHECK-NEXT: !8 = !MDBasicType(tag: DW_TAG_base_type)
|
|
|
|
!7 = !MDBasicType(tag: DW_TAG_base_type, name: "name", size: 1, align: 2, encoding: 3)
|
|
|
|
!8 = !MDBasicType(tag: DW_TAG_unspecified_type, name: "decltype(nullptr)")
|
|
|
|
!9 = !MDBasicType(tag: DW_TAG_base_type)
|
|
|
|
!10 = !MDBasicType(tag: DW_TAG_base_type, name: "", size: 0, align: 0, encoding: 0)
|