Displaying 1 result from an estimated 1 matches for "filetype_s".
Did you mean:
filetype
2013 Jan 07
0
[LLVMdev] How to output a .S *and* a .OBJ file?
...uot;",Options,Reloc::Default,CodeModel::Default,OLvl));
assert(target.get() && "Could not allocate target machine!");
TargetMachine &Target = *target.get();
/*
TargetMachine::CGFT_AssemblyFile
TargetMachine::CGFT_ObjectFile
*/
TargetMachine::CodeGenFileType FileType_S = 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(), "...