brintos

brintos / llvm-project-archived public Read only

0
0
Text · 941 B · 73e2223 Raw
19 lines · plain
1; RUN: llc -split-dwarf-file=foo.dwo -O0 %s -mtriple=x86_64-unknown-linux-gnu -filetype=obj -o %t2; RUN: llvm-dwarfdump -v -all %t | FileCheck %s3 4; The source is an empty file, modified to include/retain an 'int' type, since empty CUs are omitted.5 6; CHECK: DW_AT_GNU_dwo_id [DW_FORM_data8] (0xb1b50e9a23896bc1)7; CHECK: DW_AT_GNU_dwo_id [DW_FORM_data8] (0xb1b50e9a23896bc1)8 9!llvm.dbg.cu = !{!0}10!llvm.module.flags = !{!3, !4}11 12!0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.4 (trunk 188230) (llvm/trunk 188234)", isOptimized: false, splitDebugFilename: "foo.dwo", emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !5, globals: !2, imports: !2)13!1 = !DIFile(filename: "foo.c", directory: "/usr/local/google/home/echristo/tmp")14!2 = !{}15!3 = !{i32 2, !"Dwarf Version", i32 3}16!4 = !{i32 1, !"Debug Info Version", i32 3}17!5 = !{!6}18!6 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)19