[PATCH] D54375: [DWARF] Change pubnames to use DWARFSection instead of StringRef

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 10 01:19:30 PST 2018


MaskRay created this revision.
MaskRay added reviewers: ruiu, dblaikie, grimar.
Herald added subscribers: llvm-commits, JDevlieghere, aprantl.

The debug_info_offset values in .debug_{,gnu_}pub{name,types} may be relocated. Use DWARFSection so that we can get relocated values.


Repository:
  rL LLVM

https://reviews.llvm.org/D54375

Files:
  include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h
  include/llvm/DebugInfo/DWARF/DWARFObject.h
  lib/DebugInfo/DWARF/DWARFContext.cpp
  lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
  tools/obj2yaml/dwarf2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54375.173498.patch
Type: text/x-patch
Size: 8666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181110/7f3b06da/attachment.bin>


More information about the llvm-commits mailing list