1; FIXME: Missing DwarfAddrSection on AIX 2; XFAIL: target={{.*}}-aix{{.*}} 3; RUN: %llc_dwarf -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s 4 5;; In DWARF v5, emit DW_AT_addr_base as DW_AT_addr_base is used for DW_AT_low_pc. 6; CHECK: DW_AT_low_pc [DW_FORM_addrx] 7; CHECK: DW_AT_addr_base 8 9define i64 @foo() !dbg !7 { 10entry: 11 ret i64 0 12} 13 14!llvm.dbg.cu = !{!0} 15!llvm.module.flags = !{!3, !4} 16 17!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, emissionKind: LineTablesOnly, enums: !2, nameTableKind: None) 18!1 = !DIFile(filename: "a.cc", directory: "/tmp") 19!2 = !{} 20!3 = !{i32 2, !"Dwarf Version", i32 5} 21!4 = !{i32 2, !"Debug Info Version", i32 3} 22!7 = distinct !DISubprogram(name: "a", scope: !1, file: !1, line: 22, type: !8, scopeLine: 22, unit: !0, retainedNodes: !2) 23!8 = !DISubroutineType(types: !2) 24