diff options
| author | Lang Hames <lhames@gmail.com> | 2018-09-27 19:27:20 +0000 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2018-09-27 19:27:20 +0000 |
| commit | c5192f751a5012fddfc1f2a2fa03db02476a183f (patch) | |
| tree | 1256ef894d90d7103b2bb7bcbe4571cc5fae33a6 /llvm/tools/lli | |
| parent | 3ac3c0d717c64365c5e55a003f67e9b2460fd660 (diff) | |
| download | bcm5719-llvm-c5192f751a5012fddfc1f2a2fa03db02476a183f.tar.gz bcm5719-llvm-c5192f751a5012fddfc1f2a2fa03db02476a183f.zip | |
[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.
llvm-svn: 343257
Diffstat (limited to 'llvm/tools/lli')
| -rw-r--r-- | llvm/tools/lli/lli.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp index 4977cccabda..c9fc11b36b4 100644 --- a/llvm/tools/lli/lli.cpp +++ b/llvm/tools/lli/lli.cpp @@ -816,7 +816,6 @@ int runOrcLazyJIT(const char *ProgName) { if (!M) reportError(Err, ProgName); - orc::makeAllSymbolsExternallyAccessible(*M); ExitOnErr(J->addLazyIRModule(orc::ThreadSafeModule(std::move(M), TSCtx))); } |

