<div dir="ltr">On 22 January 2014 13:52, Alp Toker <span dir="ltr"><<a href="mailto:alp@nuanti.com" target="_blank">alp@nuanti.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Author: alp<br>
Date: Wed Jan 22 15:52:35 2014<br>
New Revision: 199835<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=199835&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=199835&view=rev</a><br>
Log:<br>
Eliminate inappropriate use of FindProgramByName() from lli<br>
<br>
Modified:<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/remote/cross-module-sm-pic-a.ll<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/remote/multi-module-a.ll<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/remote/multi-module-sm-pic-a.ll<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/remote/stubs-remote.ll<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll<br>
    llvm/trunk/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll<br>
    llvm/trunk/test/Makefile<br>
    llvm/trunk/test/lit.cfg<br>
    llvm/trunk/test/<a href="http://lit.site.cfg.in" target="_blank">lit.site.cfg.in</a><br>
    llvm/trunk/tools/lli/lli.cpp<br>
<br>
Modified: llvm/trunk/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll?rev=199835&r1=199834&r2=199835&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll?rev=199835&r1=199834&r2=199835&view=diff</a><br>


==============================================================================<br>
--- llvm/trunk/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll (original)<br>
+++ llvm/trunk/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll Wed Jan 22 15:52:35 2014<br>
@@ -1,4 +1,4 @@<br>
-; RUN: %lli_mcjit -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null<br>
+; RUN: %lli_mcjit -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null<br></blockquote><div><br></div><div>Hi Alp! Thanks for removing <span style="font-size:13px;font-family:arial,sans-serif">FindProgramByName!</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">One question about this patch. We don't use "clang%exeext" or "lli%exeext", we use "%clang" or "%lli". I think it would make more sense to create %lli_child_target and use that as the argument. Does that work?</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Nick</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>

</span></div></div></div></div>