Add an "-object-cache-dir=<string>" option to LLI. This option specifies the
authorLang Hames <lhames@gmail.com>
Thu, 9 Jan 2014 05:24:05 +0000 (05:24 +0000)
committerLang Hames <lhames@gmail.com>
Thu, 9 Jan 2014 05:24:05 +0000 (05:24 +0000)
commit4442b6ec3aa660489d08bbc3889666b519b1d062
treec0a03c7bb5878b7f24255c8643b03cce424cbcb4
parent5f0929577b652b74fc0caab08b5beb5563c32e50
Add an "-object-cache-dir=<string>" option to LLI. This option specifies the
root path to which object files managed by the LLIObjectCache instance should be
written. This option defaults to "", in which case objects are cached in the
same directory as the bitcode they are derived from.

The load-object-a.ll test has been rewritten to use this option to support
testing in environments where the test directory is not writable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198852 91177308-0d34-0410-b5e6-96231b3b80d8
test/ExecutionEngine/MCJIT/load-object-a.ll
tools/lli/lli.cpp