Displaying 2 results from an estimated 2 matches for "marcherr".
2007 Nov 08
3
[LLVMdev] Newbie JITter
...ng(assembler, new Module("test"),
&ParseErr);
if (!M) {
cerr << "parse error: " << ParseErr.getMessage() << "\n";
return 1;
}
std::cout << "\nWe just constructed this LLVM module:\n\n" << *M;
std::string MArchErr;
const TargetMachineRegistry::entry* MArch =
TargetMachineRegistry::getClosestStaticTargetForModule(*M, MArchErr);
if (MArch == 0) {
std::cerr << "error auto-selecting target for module '" <<
MArchErr << "'.\n";
return 1;
}
TargetMa...
2007 Nov 09
0
[LLVMdev] Newbie JITter
...> &ParseErr);
> if (!M) {
> cerr << "parse error: " << ParseErr.getMessage() << "\n";
> return 1;
> }
>
> std::cout << "\nWe just constructed this LLVM module:\n\n" << *M;
>
> std::string MArchErr;
> const TargetMachineRegistry::entry* MArch =
> TargetMachineRegistry::getClosestStaticTargetForModule(*M, MArchErr);
> if (MArch == 0) {
> std::cerr << "error auto-selecting target for module '" <<
> MArchErr << "'.\n";
> r...