[PATCH] D15700: Split Undefined and UndefinedElf
Rafael Ávila de Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 21 13:20:50 PST 2015
rafael created this revision.
rafael added reviewers: rui314, grimar.
rafael added a subscriber: llvm-commits.
I am working on adding LTO support to the new ELF lld.
In order to do that, it will be necessary to represent defined and undefined symbols that are not from ELF files. One way to do it is to change the symbol hierarchy to look like
Defined : SymbolBody
Undefined : SymbolBody
DefinedElf<ELFT> : Defined
UndefinedElf<ELFT> : Undefined
Another option would be to use bogus Elf_Sym, but I think that is getting a bit too hackish.
The attached patch does the Undefined/UndefinedElf. Split. The next one will do the Defined/DefinedElf split.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12419 bytes
Desc: not available
More information about the llvm-commits