summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine/OrcMCJIT/Inputs/weak-function-2.ll
Commit message (Collapse)AuthorAgeFilesLines
* [ExecutionEngine] Disable weak symbol tests for COFF.Lang Hames2016-08-091-1/+1
| | | | | | COFF doesn't support weak linkage on functions. llvm-svn: 278162
* Re-apply r278065 (Weak symbol support in RuntimeDyld) with a fix for ELF.Lang Hames2016-08-091-0/+9
| | | | llvm-svn: 278149
* Revert r278065 while I investigate some build-bot breakage.Lang Hames2016-08-081-9/+0
| | | | llvm-svn: 278069
* [RuntimeDyld][Orc][MCJIT] Add partial weak-symbol support to RuntimeDyld.Lang Hames2016-08-081-0/+9
This patch causes RuntimeDyld to check for existing definitions when it encounters weak symbols. If a definition already exists then the new weak definition is discarded. All symbol lookups within a "logical dylib" should now agree on the address of any given weak symbol. This allows the JIT to better match the behavior of the static linker for C++ code. This support is only partial, as it does not allow strong definitions that occur after the first weak definition (in JIT symbol lookup order) to override the previous weak definitions. Support for this will be added in a future patch. llvm-svn: 278065
OpenPOWER on IntegriCloud