brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 6bf5257 Raw
24 lines · plain
1; RUN: %llc_dwarf %s -filetype=obj -o %t2; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s3; REQUIRES: object-emission4;5; CHECK: DW_TAG_compile_unit6; CHECK-NOT: dwo_id7;8; The skeleton must come second or LLDB may get confused.9; CHECK: DW_TAG_compile_unit10; CHECK: DW_AT_GNU_dwo_id {{.*}}abcd11; CHECK: DW_AT_GNU_dwo_name {{.*}}"my.dwo"12 13!llvm.dbg.cu = !{!7, !0}14!llvm.module.flags = !{!3, !4}15 16!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "Clang", isOptimized: false, runtimeVersion: 2, splitDebugFilename: "my.dwo", emissionKind: FullDebug, enums: !2, retainedTypes: !2, globals: !2, imports: !2, dwoId: 43981)17!1 = !DIFile(filename: "<stdin>", directory: "/")18!2 = !{}19!3 = !{i32 2, !"Dwarf Version", i32 4}20!4 = !{i32 2, !"Debug Info Version", i32 3}21!5 = !{!6}22!6 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)23!7 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "Clang", isOptimized: false, runtimeVersion: 2, emissionKind: FullDebug, retainedTypes: !5)24