search for: llvmhelloworld

Displaying 1 result from an estimated 1 matches for "llvmhelloworld".

2019 May 25
3
llvm pass
...t;http://llvm.org/docs/WritingAnLLVMPass.html>). 2) opt (ver >= 4) with custom pass libraries does not work as before. When I have a simple custom LLVM pass called “helloworld", loading the library works well with 3.9 but opt-4.0 cannot not find the pass: $ opt-3.9 -load ../build/hello/LLVMHelloWorld.so -helloworld hello.bc -S > /dev/null Hello: main $ opt-4.0 -load ../build/hello/LLVMHelloWorld.so -helloworld hello.bc -S > /dev/null opt-4.0: Unknown command line argument '-helloworld'. Try: 'opt-4.0 -help' opt-4.0: Did you mean '-loops’? 3) I tried to invoke custo...