[ORC] Clone module flags metadata into the globals module in the
authorLang Hames <lhames@gmail.com>
Sun, 4 Sep 2016 17:53:30 +0000 (17:53 +0000)
committerLang Hames <lhames@gmail.com>
Sun, 4 Sep 2016 17:53:30 +0000 (17:53 +0000)
commit38c7927b6f6c54ea48144b3d39aaffb18c31aee4
tree543b728c8cb130d52afad5b90e35ca47cd3d0823
parent128047fde5b1a559d12c241de88be183ce8f42eb
[ORC] Clone module flags metadata into the globals module in the
CompileOnDemandLayer.

Also contains a tweak to the orc-lazy jit in LLI to enable the test case.

llvm-svn: 280632
llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
llvm/test/ExecutionEngine/OrcLazy/module-flags.ll [new file with mode: 0644]
llvm/tools/lli/OrcLazyJIT.cpp