Displaying 3 results from an estimated 3 matches for "llvm_vbiyn9".
2010 Oct 27
2
[LLVMdev] llvmc searches PATH for llc
Hi,
Is it intended that llvmc should search PATH for llc? For example, this
means that llvmc 2.7 can invoke llc 2.8:
% echo $PATH
/home/jdenny/installs/llvm/2.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
% /home/jdenny/installs/llvm/2.7/bin/llvmc test.ll
llc: Unknown command line argument '-f'. Try: 'llc -help'
% strace -f
2010 Oct 28
0
[LLVMdev] llvmc searches PATH for llc
Hi,
Joel E. Denny <jdenny <at> etinternational.com> writes:
>
> Hi,
>
> Is it intended that llvmc should search PATH for llc? For example, this
> means that llvmc 2.7 can invoke llc 2.8:
> [...]
This is fixed in 2.8+ - llvmc now searches the directory it resides in first.
2010 Oct 28
2
[LLVMdev] llvmc searches PATH for llc
...I'm seeing the same behavior as with 2.7 and 2.8.
% strace -f /home/jdenny/installs/llvm/trunk/bin/llvmc tmp.ll |& grep exec | grep llc
[pid 7015] execve("/home/jdenny/installs/llvm/2.8/bin/llc", ["llc", "-O2", "tmp.ll", "-o", "/tmp/llvm_vbIyN9/tmp.s"], [/* 42 vars */] <unfinished ...>