-template <class ELFT>
-StringRef ELFObjectFile<ELFT>::getLoadName() const {
- const Elf_Dyn *DI = EF.dynamic_table_begin();
- const Elf_Dyn *DE = EF.dynamic_table_end();
-
- while (DI != DE && DI->getTag() != ELF::DT_SONAME)
- ++DI;
-
- if (DI != DE)
- return EF.getDynamicString(DI->getVal());
- return "";
-}
-