[PATCH] D106624: [WIP][DWARF] Don't process .debug_info relocations for DWO Context

Alexander Yermolovich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 26 14:27:28 PDT 2021


ayermolo updated this revision to Diff 361805.
ayermolo added a comment.

Good point. Changed to ENUM. I left as two enums as I am not quite following the "interminate" remark.
Maybe this is related but running dwarfdump-header.s it fails because relocation section for .debug_info.dwo is being generated.
Looking at ELFWriter::writeObject looks like there was a code added to check the mode, but I haven't 100% internalized what all of it means. Do you have insights to shortcut it?
It was added in https://reviews.llvm.org/D47051


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106624/new/

https://reviews.llvm.org/D106624

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
  llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
  llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
  llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  llvm/tools/llvm-readobj/DwarfCFIEHPrinter.h
  llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp
  llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106624.361805.patch
Type: text/x-patch
Size: 7861 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210726/33ea1371/attachment.bin>


More information about the llvm-commits mailing list