[Lldb-commits] [PATCH] D69366: [LLDB] [PECOFF] Fix symbols to refer to the right section

Martin Storsjö via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 24 00:24:37 PDT 2019


mstorsjo created this revision.
mstorsjo added reviewers: labath, amccarth.
Herald added a subscriber: JDevlieghere.
Herald added a project: LLDB.

The virtual container/header section causes the section list to be offset by one. Previously, symbols in the first section were given addresses in the COFF header section.

This depends on D69100 <https://reviews.llvm.org/D69100>; before that, one has to access the subsections differently.

The testcase uses `lldb-test symbols`, but doesn't really use any SymbolFile functionality, but just tries to inspect what the ObjectFile plugin provides in the symbol table, hence the testcase is in Shell/ObjectFile/PECOFF.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D69366

Files:
  lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  lldb/test/Shell/ObjectFile/PECOFF/symbol.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69366.226203.patch
Type: text/x-patch
Size: 3883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191024/d691a947/attachment-0001.bin>


More information about the lldb-commits mailing list