Displaying 1 result from an estimated 1 matches for "modgcd".
Did you mean:
modded
2011 Aug 31
2
[LLVMdev] How to place call(s) to functions found in other llvm modules ???
...t = new tool_output_file(FileName, error,
raw_fd_ostream::F_Binary);
if (!error.empty()) {
errs() << error << '\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)...