diff options
| author | Frederic Riss <friss@apple.com> | 2014-09-05 07:21:50 +0000 |
|---|---|---|
| committer | Frederic Riss <friss@apple.com> | 2014-09-05 07:21:50 +0000 |
| commit | 0982e69fb84088677f4b021f62566c164f75b96e (patch) | |
| tree | 9b328c328238dc5e71afe348ad07472a4362688f /llvm/lib/DebugInfo | |
| parent | 1a3736f4f6577c87748ab0f484041c947621ce75 (diff) | |
| download | bcm5719-llvm-0982e69fb84088677f4b021f62566c164f75b96e.tar.gz bcm5719-llvm-0982e69fb84088677f4b021f62566c164f75b96e.zip | |
[dwarfdump] Dump DW_AT_(decl|call)_line attribute values as decimal values.
llvm-svn: 217232
Diffstat (limited to 'llvm/lib/DebugInfo')
| -rw-r--r-- | llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp b/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp index 5140244dee9..aaca666be84 100644 --- a/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp +++ b/llvm/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); } |

