[PATCH] D88468: [llvm-readobj] Don't print out section names for STABS symbols
Alexander Shaposhnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 12 15:01:02 PDT 2020
alexshap added inline comments.
================
Comment at: llvm/tools/llvm-readobj/MachODumper.cpp:631
+ // indices.
+ if (!(MOSymbol.Type & MachO::N_STAB)) {
+ Expected<section_iterator> SecIOrErr = Symbol.getSection();
----------------
maybe I'm missing something, but it looks like on the lines 631-639 only the case of non-stab symbols is handled, so for a stab symbol SectionName is set to "", is there another place where it's updated ? (to cover the "unless we know that .. " part of the comment).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88468/new/
https://reviews.llvm.org/D88468
More information about the llvm-commits
mailing list