search for: getsymindex

Displaying 2 results from an estimated 2 matches for "getsymindex".

2017 Feb 22
2
[lld] elf linker creates undefined empty symbol
On Tue, Feb 21, 2017 at 2:05 PM, Rafael Avila de Espindola via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Carlo Kok <ck at remobjects.com> writes: > > > On 2017-02-21 20:33, Rafael Avila de Espindola wrote: > >>> Input files: > >>> https://www.dropbox.com/s/8yn3dggx05atn47/binLinux.zip?dl=0 > >> > >> If you pass --reproduce
2017 Feb 22
2
[lld] elf linker creates undefined empty symbol
...heticSections.cpp @@ -1031,6 +1031,7 @@ template <class ELFT> void RelocationSection<ELFT>::writeTo(uint8_t *Buf) { // in account 'local' and 'global' GOT entries. P->r_offset += In<ELFT>::MipsGot->getTlsOffset(); P->setSymbolAndType(Rel.getSymIndex(), Rel.Type, Config->Mips64EL); + errs() << "NAME: " << Rel.Sym->getName() << " SYMINDEX: " << Rel.getSymIndex() << "\n"; } if (Sort) { diff --git a/ELF/SyntheticSections.h b/ELF/SyntheticSections.h index a1190d2..9f99931...