[Orc][LLJIT] Use JITLink even if a custom JITTargetMachineBuilder is supplied.
authorLang Hames <lhames@gmail.com>
Mon, 16 Dec 2019 10:45:51 +0000 (02:45 -0800)
committerLang Hames <lhames@gmail.com>
Wed, 18 Dec 2019 22:17:25 +0000 (14:17 -0800)
commit298e183e813c884dd22816383405bae3ef9ef278
treecd4f6b079ad111584e5eed1662db91136b32b6c2
parent3ced23976aa8a86a17017c87821c873b4ca80bc2
[Orc][LLJIT] Use JITLink even if a custom JITTargetMachineBuilder is supplied.

LLJITBuilder will now use JITLink on supported platforms even if a custom
JITTargetMachineBuilder is supplied, provided that neither the code model,
nor the relocation model, nor the ObjectLinkingLayerCreator is set.
llvm/include/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h
llvm/lib/ExecutionEngine/Orc/LLJIT.cpp