parent
44c2871c09
commit
bff864a596
|
@ -491,7 +491,7 @@ std::error_code ELFFile<ELFT>::handleSectionGroup(
|
||||||
if (std::error_code ec = strtab_or_err.getError())
|
if (std::error_code ec = strtab_or_err.getError())
|
||||||
return ec;
|
return ec;
|
||||||
StringRef strtab = *strtab_or_err;
|
StringRef strtab = *strtab_or_err;
|
||||||
ErrorOr<StringRef> symbolName = _objFile->getSymbolName(strtab, symbol);
|
ErrorOr<StringRef> symbolName = symbol->getName(strtab);
|
||||||
if (std::error_code ec = symbolName.getError())
|
if (std::error_code ec = symbolName.getError())
|
||||||
return ec;
|
return ec;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue