Displaying 1 result from an estimated 1 matches for "outgcd".
Did you mean:
outfd
2011 Aug 31
2
[LLVMdev] How to place call(s) to functions found in other llvm modules ???
...t; '\n';
delete FDOut;
return 0;
}
return FDOut;
}
int main(int argc, char**argv) {
LLVMContext& Context = getGlobalContext();
Module* ModGCD = makeLLVMModule(Context);
Module* ModMain = makeMainModule(Context, *ModGCD);
OwningPtr<tool_output_file> OutGCD (GetOutputStream("gcd.bc"));
if (!OutGCD) return 1;
OwningPtr<tool_output_file> OutMain (GetOutputStream("maingcd.bc"));
if (!OutMain) return 1;
verifyModule(*ModGCD, PrintMessageAction);
verifyModule(*ModMain, PrintMessageAction);
PassManager PM;
P...