The utility can be reused by llvm-objdump -T.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I've not looked too carefully to make sure the moved code is essentially the same before and after. I assume it is, and if so, LGTM. If not, please point out anything that's changed.
Comment Actions
SymbolVersion has been replaced by VersionEntry defined in include/llvm/Object.
if (!VerSec) return std::vector<VersionEntry>();
has been added so that llvm-objdump can know whether the version sections exist or not. llvm-nm code already does if (!SymbolVersions.empty() ... so llvm-nm doesn't need a change.