search for: llvmnewhello

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

2016 Aug 03
3
Issue with HelloWorld pass
...de required" section and I managed to compile everything correctly with CMake. Because there is already a Hello example (with the correspondent LLVMHello.so file), I decided to call it NewHello. When I try to test the pass with the following string opt -load /path/to/llvm-3.8.1.src/build/lib/LLVMNewHello.so -hello < new_hello.bc > /dev/null I get the following error: Expected no forward declarations! !0 = <temporary!> !{} incorrect number of operands in llvm.ident metadata !0 = <temporary!> !{} opt: -: error: input module is broken! I've also tried with the LLVMHello.so file...