2015-06-30 07:03:47 +08:00
|
|
|
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
|
|
|
|
; RUN: verify-uselistorder %s
|
|
|
|
|
2020-12-18 00:08:46 +08:00
|
|
|
; CHECK: !named = !{!0, !1, !2, !1, !3, !4}
|
|
|
|
!named = !{!0, !1, !2, !3, !4, !5}
|
2015-06-30 07:03:47 +08:00
|
|
|
|
|
|
|
!0 = distinct !{}
|
|
|
|
|
|
|
|
; CHECK: !1 = !DIModule(scope: !0, name: "Module")
|
|
|
|
!1 = !DIModule(scope: !0, name: "Module")
|
|
|
|
|
2020-01-15 05:37:04 +08:00
|
|
|
; CHECK: !2 = !DIModule(scope: !0, name: "Module", configMacros: "-DNDEBUG", includePath: "/usr/include")
|
|
|
|
!2 = !DIModule(scope: !0, name: "Module", configMacros: "-DNDEBUG", includePath: "/usr/include")
|
2015-06-30 07:03:47 +08:00
|
|
|
|
|
|
|
!3 = !DIModule(scope: !0, name: "Module", configMacros: "")
|
2020-03-04 08:05:23 +08:00
|
|
|
|
2020-05-08 14:01:41 +08:00
|
|
|
; CHECK: !3 = !DIModule(scope: !0, name: "Module", configMacros: "-DNDEBUG", includePath: "/usr/include", apinotes: "/tmp/m.apinotes", file: !0, line: 1)
|
|
|
|
!4 = !DIModule(scope: !0, name: "Module", configMacros: "-DNDEBUG", includePath: "/usr/include", apinotes: "/tmp/m.apinotes", file: !0, line: 1)
|
2020-12-18 00:08:46 +08:00
|
|
|
|
|
|
|
; CHECK: !4 = !DIModule(scope: !0, name: "Module", isDecl: true)
|
|
|
|
!5 = !DIModule(scope: !0, name: "Module", isDecl: true)
|