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 | 63fd2af3892a81026f40374d08b5124e72ccff4e (patch) | |
tree | 8587e5f891d29f8cf006b2d3e39adebe47fa7a7b /lib/DebugInfo/DWARFDebugAranges.cpp | |
parent | 1567abe74f519e542786bdb82664f68b10afda0b (diff) | |
download | external_llvm-63fd2af3892a81026f40374d08b5124e72ccff4e.zip external_llvm-63fd2af3892a81026f40374d08b5124e72ccff4e.tar.gz external_llvm-63fd2af3892a81026f40374d08b5124e72ccff4e.tar.bz2 |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189329 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DWARFDebugAranges.cpp')
-rw-r--r-- | lib/DebugInfo/DWARFDebugAranges.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DebugInfo/DWARFDebugAranges.cpp b/lib/DebugInfo/DWARFDebugAranges.cpp index f79862d..56de5ea 100644 --- a/lib/DebugInfo/DWARFDebugAranges.cpp +++ b/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); } } } |