mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
[dwarfdump] Dump DW_AT_(decl|call)_line attribute values as decimal values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217232 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -93,6 +93,8 @@ void DWARFDebugInfoEntryMinimal::dumpAttribute(raw_ostream &OS,
|
||||
|
||||
if (Name) {
|
||||
OS << Name;
|
||||
} else if (attr == DW_AT_decl_line || attr == DW_AT_call_line) {
|
||||
OS << *formValue.getAsUnsignedConstant();
|
||||
} else {
|
||||
formValue.dump(OS, u);
|
||||
}
|
||||
|
Reference in New Issue
Block a user