[Orc] Make the makeStub function propagate argument attributes onto the call to
authorLang Hames <lhames@gmail.com>
Mon, 20 Apr 2015 20:41:45 +0000 (20:41 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 20 Apr 2015 20:41:45 +0000 (20:41 +0000)
commit302f000bf4fdf4346af58f73e2cf300bbb453a1c
treec247dff015d847af81e5718a5075d13ddbe673a8
parent878f959d7f228e2f1d1f26858d00e5b6a504b0b8
[Orc] Make the makeStub function propagate argument attributes onto the call to
the function body.

This is necessary for correctness when lazily compiling.

Also, flesh out the Orc unit test infrastructure slightly, and add a unit test
for this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235347 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
unittests/ExecutionEngine/Orc/CMakeLists.txt
unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp [new file with mode: 0644]
unittests/ExecutionEngine/Orc/OrcTestCommon.cpp [new file with mode: 0644]
unittests/ExecutionEngine/Orc/OrcTestCommon.h [new file with mode: 0644]