Since the only missing bit was the size, I just replaced the Elf_Sym with the size.
We could go with DefinedCommon, DefinedCommonElf<ELFT> and DefinedCommonBitcode, but that seems a bit much.
Paths
| Differential D15771
Make it possible to create common symbols from bitcode ClosedPublic Authored by • rafael on Dec 24 2015, 6:54 AM.
Details
Diff Detail Event Timeline• rafael updated this object. This revision is now accepted and ready to land.Dec 24 2015, 7:24 AM grimar edited edge metadata. Comment ActionsLGTM with a nit
Revision Contents
Diff 43600 ELF/InputFiles.cpp
ELF/OutputSections.cpp
ELF/Symbols.h
ELF/Symbols.cpp
ELF/Writer.cpp
|
I dont think we used const for auto anywhere in lld before.