1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-26 18:02:30 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-10-09 21:50:13 +09:00
parent 5fa3d0e975
commit b2e29be931

View File

@ -39,6 +39,9 @@ void ObjectFile::parse() {
ArrayRef<ELF64LE::Sym> syms = CHECK(obj.symbols(symtab_sec), this);
StringRef string_table =
CHECK(obj.getStringTableForSymtab(*symtab_sec, sections), this);
for (const ELF64LE::Sym &sym : syms)
llvm::errs() << CHECK(sym.getName(string_table), this) << "\n";
}
void ObjectFile::register_defined_symbols() {}