2015-06-02 19:17:44 +02:00
|
|
|
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
|
|
|
|
; RUN: verify-uselistorder %s
|
|
|
|
|
2016-04-15 17:57:41 +02:00
|
|
|
; CHECK: !named = !{!0, !3}
|
|
|
|
!named = !{!0, !3}
|
2015-06-02 19:17:44 +02:00
|
|
|
|
2016-04-04 04:11:34 +02:00
|
|
|
!llvm.module.flags = !{!4}
|
2016-04-15 17:57:41 +02:00
|
|
|
!llvm.dbg.cu = !{!1}
|
2016-04-04 04:11:34 +02:00
|
|
|
|
2016-04-15 17:57:41 +02:00
|
|
|
!0 = distinct !DISubprogram(unit: !1)
|
|
|
|
!1 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang",
|
|
|
|
file: !2,
|
|
|
|
isOptimized: true, flags: "-O2",
|
|
|
|
splitDebugFilename: "abc.debug", emissionKind: 2)
|
|
|
|
!2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
|
2015-06-02 19:17:44 +02:00
|
|
|
|
2016-04-15 17:57:41 +02:00
|
|
|
; CHECK: !3 = !DILocalVariable(name: "foo", arg: 65535, scope: !0)
|
|
|
|
!3 = !DILocalVariable(name: "foo", arg: 65535, scope: !0)
|
2016-04-04 04:11:34 +02:00
|
|
|
|
|
|
|
!4 = !{i32 2, !"Debug Info Version", i32 3}
|