Displaying 1 result from an estimated 1 matches for "attributeusedglobals".
2008 Jun 04
1
[LLVMdev] Standard output binary mode on windows
...o the GCC driver.
PerModulePasses->add(CreateBitcodeWriterPass(*AsmOutStream));
@@ -473,6 +478,10 @@
// wrong for llvm/.bc emission cases.
flag_no_ident = 1;
+ // If writing to stdout, set binary mode.
+ if (asm_out_file == stdout)
+ sys::Program::ChangeStdoutToBinary();
+
AttributeUsedGlobals.clear();
timevar_pop(TV_LLVM_INIT);
}