[PATCH] [ELF] Export strong defined symbol if it coalesces away a weak symbol defined in a shared library

kledzik at apple.com kledzik at apple.com
Wed Sep 3 12:46:32 PDT 2014

Just add a StringMap ivar to ELFLinkingContext.  Have notifySymbolTableCoalesce() add the atom name to the map when overriding a weak atom.  In buildDynamicSymbolTable() check for atom->dynamicExport()  OR (atom->scope() == scopeGlobal and its name is in the StringMap).


More information about the llvm-commits mailing list