Displaying 1 result from an estimated 1 matches for "basicparser".
Did you mean:
basic_parser
2013 Jan 07
0
[LLVMdev] How to output a .S *and* a .OBJ file?
...= TargetMachine::CGFT_AssemblyFile;
TargetMachine::CodeGenFileType FileType_OBJ = TargetMachine::CGFT_ObjectFile;
//if ( DoCompileObj ) {
//} else if ( DoCompileS ) {
OwningPtr<tool_output_file> Out_S(GetOutputStream(FileType_S, TheTarget->getName(), TheTriple->getOS(), "BasicParser.exe"));
if ( !Out_S) {
printf( "Error creating output file\n" );
return false;
}
OwningPtr<tool_output_file> Out_OBJ(GetOutputStream(FileType_OBJ, TheTarget->getName(), TheTriple->getOS(), "BasicParser.exe"));
if ( !Out_OBJ) {
printf( "Erro...