[llvm] Add symbol version support to llvm-ifs (PR #163030)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 14 14:23:38 PST 2026
================
@@ -371,6 +569,10 @@ template <class ELFT> class DynSym {
return getDynamicData(DynEnt.DynSymAddr, "dynamic symbol table");
}
+ const Elf_Shdr *getVerSym() { return findHdr(SHT_GNU_versym); }
----------------
zeroomega wrote:
Might be better to just use findHdr directly instead of creating a wrapper function like this. Ditto for getVerDef.They are only used once.
https://github.com/llvm/llvm-project/pull/163030
More information about the llvm-commits
mailing list