[Lldb-commits] [PATCH] D16996: Improve the handling of missing elf symtab and missing symbol sizes

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 8 10:18:25 PST 2016


tberghammer created this revision.
tberghammer added a reviewer: clayborg.
tberghammer added a subscriber: lldb-commits.

Improve the handling of missing elf symtab and missing symbol sizes

* Generate artificial symbol names from eh_fame during symbol parsing
  so these symbols are already present when we calculate the size of
  the symbols where 0 is specified.
* Fix symbol size calculation for the last symbol in the file where
  it have to last until the end of the parent section

http://reviews.llvm.org/D16996

Files:
  include/lldb/Core/RangeMap.h
  include/lldb/Symbol/DWARFCallFrameInfo.h
  include/lldb/Symbol/Symtab.h
  source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
  source/Plugins/ObjectFile/ELF/ObjectFileELF.h
  source/Symbol/DWARFCallFrameInfo.cpp
  source/Symbol/Symtab.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16996.47221.patch
Type: text/x-patch
Size: 16365 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160208/bd8898bf/attachment.bin>


More information about the lldb-commits mailing list