search for: m3llvm

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

Did you mean: llvm
2017 Aug 17
3
How do set 'nest' addribute in an indirect call?
...(I already have an i8* pointer to the function code.) The comment on LLVMAddAttribute says " Add an attribute to a function argument", which, to me, "argument" means an actual parameter. But When I try that, I get an assertion failure, which I am having trouble interpreting: m3llvm: /home/rodney/proj/llvm/llvm-3.6.1/llvm-3.6.1.src/include/llvm/Support/Casting.h:237: typename cast_retty<X, Y *>::ret_type llvm::cast(Y *) [X = llvm::Argument, Y = llvm::Value]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed....