File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
test/tools/llvm-dwarfdump/X86 Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -897,8 +897,11 @@ Error DWARFDebugLine::LineTable::parse(
897
897
TableData.setAddressSize (ExtractorAddressSize);
898
898
}
899
899
900
- if (Cursor && Verbose)
901
- *OS << format (" (0x%16.16" PRIx64 " )" , State.Row .Address .Address );
900
+ if (Cursor && Verbose) {
901
+ *OS << " (" ;
902
+ DWARFFormValue::dumpAddress (*OS, OpcodeAddressSize, State.Row .Address .Address );
903
+ *OS << ' )' ;
904
+ }
902
905
}
903
906
break ;
904
907
Original file line number Diff line number Diff line change 64
64
# CHECK-DAG: .debug_line contents:
65
65
# CHECK: Address Line
66
66
# CHECK-NEXT: --------------
67
- # FIXME: Dump the address with a size-appropriate encoding
68
- # CHECK-NEXT: DW_LNE_set_address (0x00000000ffffffff)
67
+ # CHECK-NEXT: DW_LNE_set_address (0xffffffff)
69
68
# CHECK-NEXT: DW_LNS_copy
70
69
# CHECK-NEXT: DW_LNS_advance_pc (1)
71
70
# CHECK-NEXT: DW_LNE_end_sequence
72
- # CHECK-NEXT: DW_LNE_set_address (0x0000000000000042 )
71
+ # CHECK-NEXT: DW_LNE_set_address (0x00000042 )
73
72
# CHECK-NEXT: DW_LNS_copy
74
73
# CHECK-NEXT: 0x0000000000000042 1
75
74
# CHECK-NEXT: DW_LNS_advance_pc (1)
You can’t perform that action at this time.
0 commit comments