search for: ___mm___

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

Did you mean: ______
2007 Aug 26
0
[LLVMdev] Function definition
Hi, I want to define a function with basic block and so on. I tried this: .... Function *mmFn = new Function(FunctionType::get (Type::Int32Ty,Params,false), GlobalValue::ExternalLinkage, "___MM___", MainFn->getParent()); new BasicBlock("entry",mmFn); ... At runtime I get a 'bus error'. Without the 'BasicBlock' it works a little bit. In the .ll code I can see the declaration of the function '___MM___' (but no definition). I don't know what...