diff options
| author | Eric Christopher <echristo@gmail.com> | 2013-01-02 23:52:13 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2013-01-02 23:52:13 +0000 |
| commit | da4b2195fc72e8d2d5751b3d64d68a818426aa86 (patch) | |
| tree | 0b67b64b2886da24d4c73f07a8cf512a481409c8 /llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp | |
| parent | 91055cfbaf31e6dc9adc1d37ac5648613ad0a2e0 (diff) | |
| download | bcm5719-llvm-da4b2195fc72e8d2d5751b3d64d68a818426aa86.tar.gz bcm5719-llvm-da4b2195fc72e8d2d5751b3d64d68a818426aa86.zip | |
Extend the dumping infrastructure to deal with additional
sections for debug info. These are some of the dwo sections from the
DWARF5 split debug info proposal. Update the fission-cu.ll testcase
to show what we should be able to dump more of now.
Work in progress: Ultimately the relocations will be gone for the
dwo section and the strings will be a different form (as well as
the rest of the sections will be included).
llvm-svn: 171428
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp')
| -rw-r--r-- | llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp b/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp index ab674644538..d3e6e9e8456 100644 --- a/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp +++ b/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp @@ -417,8 +417,7 @@ DWARFDebugInfoEntryMinimal::getAttributeValueAsString( const { DWARFFormValue form_value; if (getAttributeValue(cu, attr, form_value)) { - DataExtractor stringExtractor(cu->getContext().getStringSection(), - false, 0); + DataExtractor stringExtractor(cu->getStringSection(), false, 0); return form_value.getAsCString(&stringExtractor); } return fail_value; |

