diff options
| author | Alexey Samsonov <samsonov@google.com> | 2013-08-27 09:20:22 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2013-08-27 09:20:22 +0000 |
| commit | e3ba81bf19295fbbc4dd58007c02203b396ae617 (patch) | |
| tree | fff8a410275f31d336d2887f5b492ced7cdceb45 /llvm/lib/DebugInfo/DWARFDebugAranges.cpp | |
| parent | cb3f0ed817b1e53a583058cd74ad2f4e03c81f8a (diff) | |
| download | bcm5719-llvm-e3ba81bf19295fbbc4dd58007c02203b396ae617.tar.gz bcm5719-llvm-e3ba81bf19295fbbc4dd58007c02203b396ae617.zip | |
Add support for DebugFission to DWARF parser
Summary:
1) Make llvm-symbolizer properly symbolize
files with split debug info (by using stanalone .dwo files).
2) Make DWARFCompileUnit parse and store corresponding .dwo file,
if necessary.
3) Make bits of DWARF parsing more CompileUnit-oriented.
Reviewers: echristo
Reviewed By: echristo
CC: bkramer, llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1164
llvm-svn: 189329
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugAranges.cpp')
| -rw-r--r-- | llvm/lib/DebugInfo/DWARFDebugAranges.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugAranges.cpp b/llvm/lib/DebugInfo/DWARFDebugAranges.cpp index f79862d606f..56de5ea28de 100644 --- a/llvm/lib/DebugInfo/DWARFDebugAranges.cpp +++ b/llvm/lib/DebugInfo/DWARFDebugAranges.cpp @@ -95,7 +95,7 @@ bool DWARFDebugAranges::generate(DWARFContext *ctx) { if (DWARFCompileUnit *cu = ctx->getCompileUnitAtIndex(cu_idx)) { uint32_t CUOffset = cu->getOffset(); if (ParsedCUOffsets.insert(CUOffset).second) - cu->buildAddressRangeTable(this, true); + cu->buildAddressRangeTable(this, true, CUOffset); } } } |

