[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:
Frederic Riss
2014-09-05 07:21:50 +00:00
parent eeb0520463
commit 94f5d4480a
5 changed files with 20 additions and 18 deletions

View File

@@ -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);
}