It had been created with a lld version that was producing an invalid
sh_info.
llvm-svn: 265305
uint32_t NumSymbols = std::distance(Syms.begin(), Syms.end());
SymbolBodies.reserve(NumSymbols);
for (const Elf_Sym &Sym : Syms) {
- // FIXME: We should probably just err if we get a local symbol in here.
- if (Sym.getBinding() == STB_LOCAL)
- continue;
StringRef Name = check(Sym.getName(this->StringTable));
if (Sym.isUndefined())
Undefs.push_back(Name);
# INT-SO-NEXT: Binding: Local
# EXT-SO: Name: _gp_disp
-# EXT-SO-NEXT: Value: 0x20010
+# EXT-SO-NEXT: Value: 0x20000
# DIS: Disassembly of section .text:
# DIS-NEXT: __start: