projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[dwarfdump] Dump DW_AT_(decl|call)_line attribute values as decimal values.
[oota-llvm.git]
/
lib
/
DebugInfo
/
DWARFDebugInfoEntry.cpp
diff --git
a/lib/DebugInfo/DWARFDebugInfoEntry.cpp
b/lib/DebugInfo/DWARFDebugInfoEntry.cpp
index 5140244dee9ee47b6b025bcec739029ba5680f4a..aaca666be84d7337fa0310f249ee0fd8f18afcec 100644
(file)
--- a/
lib/DebugInfo/DWARFDebugInfoEntry.cpp
+++ b/
lib/DebugInfo/DWARFDebugInfoEntry.cpp
@@
-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);
}