search for: test_sum

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

Did you mean: test_num
2013 Dec 16
3
[LLVMdev] Add call printf instructions problems
...lysis pass RegisterPass<call_print> X("call_print", "call print func", false, false); } I successfully compile it .but when I use the call_print.so to transform the test .bc file like this: opt -load /home/king/llvm/Release+Asserts/lib/call_print.so -call_print <test_sum.bc> test_sum.call.bc -debug It failed with such information: /home/king/llvm/include/llvm/Support/Casting.h:237: typename enable_if<is_same<Y, typename simplify_type<Y>::SimpleType>, typename cast_retty<X, Y *>::ret_type>::type llvm::cast(Y *) [X = llvm::PointerType, Y...