[llvm] [llvm-objdump] Honor ELF symbol sizes in selective disassembly (PR #224068)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 28 02:29:40 PDT 2026
================
@@ -2176,6 +2184,15 @@ disassembleObject(ObjectFile &Obj, const ObjectFile &DbgObj,
++SI;
SymbolsHere = ArrayRef<SymbolInfoTy>(&Symbols[FirstSI], SI - FirstSI);
+ if (Start < SectionAddr || StopAddress <= Start)
+ continue;
----------------
jh7370 wrote:
I'm a little concerned about this moving this early in the function. I haven't verified correctness yet, but could you explain in general (without an LLM's assistance) how your change works in general and why moving this earlier is the right thing to do.
https://github.com/llvm/llvm-project/pull/224068
More information about the llvm-commits
mailing list