search for: shared_lib_name

Displaying 2 results from an estimated 2 matches for "shared_lib_name".

2012 Oct 29
3
[LLVMdev] hello pass is not available
I am writing a new pass hello and the shared library is created(.so). The library is loaded with opt. But the pass in not available in opt. opt  -help shows the command. Please find the screenshot attached. Thanks, Vidya Sagar. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Oct 29
0
[LLVMdev] hello pass is not available
opt -load ${shared_lib_name} -hello < input.bc > output.bc You should first translate 1.c to bitcode before your are going to use it as the input of the opt. Try: clang -emit-llvm -c input.c -o input.bc Sincerely, Logan On Mon, Oct 29, 2012 at 7:00 PM, sagar visa <f2001098 at yahoo.co.in> wrote: > I am w...