[PATCH] D12883: [llvm-symbolizer] Make --relative-address work with DWARF contexts

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 11:13:27 PDT 2015


rnk created this revision.
rnk added a reviewer: zturner.
rnk added a subscriber: llvm-commits.

Previously the relative address flag only affected PDB debug info.  Now
both DIContext implementations always expect to be passed virtual
addresses. llvm-symbolizer is now responsible for adding ImageBase to
module offsets when --relative-offset is passed.

http://reviews.llvm.org/D12883

Files:
  include/llvm/DebugInfo/PDB/PDBContext.h
  include/llvm/Object/COFF.h
  lib/DebugInfo/PDB/PDBContext.cpp
  lib/Object/COFFObjectFile.cpp
  test/tools/llvm-symbolizer/Inputs/coff-dwarf.cpp
  test/tools/llvm-symbolizer/Inputs/coff-dwarf.exe
  test/tools/llvm-symbolizer/Inputs/coff-dwarf.input
  test/tools/llvm-symbolizer/coff-dwarf.test
  test/tools/llvm-symbolizer/pdb/pdb.test
  tools/llvm-symbolizer/LLVMSymbolize.cpp
  tools/llvm-symbolizer/LLVMSymbolize.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12883.34815.patch
Type: text/x-patch
Size: 8921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150915/d62de3b3/attachment.bin>


More information about the llvm-commits mailing list