mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 06:38:44 +00:00
bf471b7adc
In cases where .dwo/.dwp files are guaranteed to be available, skipping the extra online (in the .o file) inline info can save a substantial amount of space - see the original r221306 for more details there. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279650 91177308-0d34-0410-b5e6-96231b3b80d8
40 lines
2.1 KiB
LLVM
40 lines
2.1 KiB
LLVM
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
|
|
; RUN: verify-uselistorder %s
|
|
|
|
; Force a specific numbering.
|
|
; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9}
|
|
!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9}
|
|
; CHECK: !llvm.dbg.cu = !{!8, !9, !10}
|
|
!llvm.dbg.cu = !{!8, !9, !10}
|
|
|
|
!0 = distinct !{}
|
|
!1 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
|
|
!2 = distinct !{}
|
|
!3 = distinct !{}
|
|
!4 = distinct !{}
|
|
!5 = distinct !{}
|
|
!6 = distinct !{}
|
|
!7 = distinct !{}
|
|
|
|
; CHECK: !8 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimized: true, flags: "-O2", runtimeVersion: 2, splitDebugFilename: "abc.debug", emissionKind: FullDebug, enums: !2, retainedTypes: !3, globals: !5, imports: !6, macros: !7, dwoId: 42)
|
|
!8 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang",
|
|
isOptimized: true, flags: "-O2", runtimeVersion: 2,
|
|
splitDebugFilename: "abc.debug",
|
|
emissionKind: FullDebug,
|
|
enums: !2, retainedTypes: !3,
|
|
globals: !5, imports: !6, macros: !7, dwoId: 42, splitDebugInlining: true)
|
|
|
|
; CHECK: !9 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, isOptimized: false, runtimeVersion: 0, emissionKind: NoDebug)
|
|
!9 = distinct !DICompileUnit(language: 12, file: !1, producer: "",
|
|
isOptimized: false, flags: "", runtimeVersion: 0,
|
|
splitDebugFilename: "", emissionKind: NoDebug)
|
|
|
|
; CHECK: !10 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimized: true, flags: "-O2", runtimeVersion: 2, splitDebugFilename: "abc.debug", emissionKind: LineTablesOnly, splitDebugInlining: false)
|
|
!10 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang",
|
|
isOptimized: true, flags: "-O2", runtimeVersion: 2,
|
|
splitDebugFilename: "abc.debug",
|
|
emissionKind: LineTablesOnly, splitDebugInlining: false)
|
|
|
|
!llvm.module.flags = !{!11}
|
|
!11 = !{i32 2, !"Debug Info Version", i32 3}
|