[PATCH] [lld][ELF] Dynamic library support
Shankar Kalpathi Easwaran
shankarke at gmail.com
Thu Mar 28 18:27:36 PDT 2013
================
Comment at: lib/ReaderWriter/ELF/SectionChunks.h:836
@@ +835,3 @@
+ if (!ste._atom)
+ _hashTable->addSymbol("", index);
+ else
----------------
Michael Spencer wrote:
> Shankar Kalpathi Easwaran wrote:
> > Michael Spencer wrote:
> > > When does this ever happen?
> > For the first undefined symbol.
> But undefined symbols shouldn't be in the hash table.
The hash table(chains array) contains an entry for every entry in the dynamic symbol table.
http://llvm-reviews.chandlerc.com/D587
More information about the llvm-commits
mailing list