[ORC] Generalize alias materialization to support re-exports (i.e. aliasing of
authorLang Hames <lhames@gmail.com>
Tue, 10 Jul 2018 23:34:56 +0000 (23:34 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 10 Jul 2018 23:34:56 +0000 (23:34 +0000)
commita3c473e650f538a93b66187ac02980dd6ab1ab45
treec7e56411d9f475dfc8bb4594eaacee936fa3b4c7
parentdb5c9aa3664ceb6b01d8ba2627c22d0b6bf3ee97
[ORC] Generalize alias materialization to support re-exports (i.e. aliasing of
symbols in another VSO).

Also fixes a bug where chained aliases within a single VSO would deadlock on
materialization.

llvm-svn: 336741
llvm/include/llvm/ExecutionEngine/Orc/Core.h
llvm/lib/ExecutionEngine/Orc/Core.cpp
llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp