OSDN Git Service

[ORC] Coalesce all of ORC's symbol renaming / linkage-promotion utilities into
authorLang Hames <lhames@gmail.com>
Thu, 27 Sep 2018 19:27:20 +0000 (19:27 +0000)
committerLang Hames <lhames@gmail.com>
Thu, 27 Sep 2018 19:27:20 +0000 (19:27 +0000)
commit4bcdd902842ebd3874d9dce91aa66d03e0338cbf
tree91f036e02d022fed586627758d5793ebc0a7b705
parent73ff7f8fad699d41f51274dc6863f38e12a71d2b
[ORC] Coalesce all of ORC's symbol renaming / linkage-promotion utilities into
one SymbolLinkagePromoter utility.

SymbolLinkagePromoter renames anonymous and private symbols, and bumps all
linkages to at least global/hidden-visibility. Modules whose symbols have been
promoted by this utility can be decomposed into sub-modules without introducing
link errors. This is used by the CompileOnDemandLayer to extract single-function
modules for lazy compilation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343257 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
include/llvm/ExecutionEngine/Orc/LLJIT.h
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
lib/ExecutionEngine/Orc/LLJIT.cpp
tools/lli/lli.cpp