[PATCH] D94141: [WIP][LLD] Add output section printout
Alexander Yermolovich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 5 17:06:38 PST 2021
ayermolo created this revision.
ayermolo added a reviewer: MaskRay.
Herald added subscribers: hoy, wenlei, rupprecht, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a reviewer: jhenderson.
ayermolo requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
When debugging relocation overflow it is useful to know sizes of output sections, etc.
I added a way to print out same way that llvm-readelf does it.
For now I put it under verbose flag.
This can be split in to two commits. One refactor ELFDumper, and another LLD.
For now keeping it as one to get some feedback if community wants this, etc.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D94141
Files:
lld/ELF/Writer.cpp
llvm/tools/llvm-readobj/ELFDumper.cpp
llvm/tools/llvm-readobj/ELFDumper.h
llvm/tools/llvm-readobj/ObjDumper.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94141.314757.patch
Type: text/x-patch
Size: 19121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210106/00d17fb4/attachment.bin>
More information about the llvm-commits
mailing list