search for: fos_s

Displaying 1 result from an estimated 1 matches for "fos_s".

Did you mean: pos_s
2013 Jan 07
0
[LLVMdev] How to output a .S *and* a .OBJ file?
...t;Error creating output file\n" ); return false; } // Build up all of the passes that we want to do to the module. PassManager PM; PM.add(new TargetData(module)); // Override default to generate verbose assembly. Target.setAsmVerbosityDefault(true); { formatted_raw_ostream FOS_S(Out_S->os()); formatted_raw_ostream FOS_OBJ(Out_OBJ->os()); // Ask the target to add backend passes as necessary. bool NoVerify = true; if (Target.addPassesToEmitFile(PM, FOS_S, FileType_S, NoVerify)) { printf( "target does not support generation of this file type!\n&quo...