[PATCH] D153027: [llvm-objdump] --adjust-vma adjust symbol table
Daniel Thornburgh via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 16 15:41:36 PDT 2023
mysterymath added inline comments.
================
Comment at: llvm/tools/llvm-objdump/llvm-objdump.cpp:2403
ArchitectureName);
+ Address += AdjustVMA;
if ((Address < StartAddress) || (Address > StopAddress))
----------------
This needs a `shouldAdjustVA(Section)` guard like other places where the adjustment is added, to avoid adjusting e.g. non-alloc sections.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153027/new/
https://reviews.llvm.org/D153027
More information about the llvm-commits
mailing list