[LLVMdev] debugging opt passed using gdb: could not open input file

Alexander Poddey alexander.poddey at gmx.net
Tue Jan 13 02:48:53 PST 2015


Hi David,

my first follow-up got lost, therefore in short again:

using backticks solves the problem:
run `opt -load=/pathTo/LLVMHello.so  -hello < /pathTo/your.bc > /dev/null`

using -load /path was mentioned in the docu, although opt -help states 
-load=/path; this however did not solve the issue.

Thanks for your advice!
Alex




More information about the llvm-dev mailing list