[llvm-commits] [llvm] r77170 - in /llvm/trunk/tools/lto: LTOCodeGenerator.cpp LTOModule.cpp

Dan Gohman gohman at apple.com
Mon Jul 27 13:50:43 PDT 2009


On Jul 26, 2009, at 3:16 PM, Nick Lewycky wrote:

> * flush the formatted_raw_ostream& or else not all of the assembly  
> will make
>   it to the .s file. (It doesn't do this in its destructor?!)

Hi Nick, this sounds like a bug. raw_ostream's subclasses should
flush the buffer in their destructors. Or is the raw_ostream
destructor not getting called?

Dan




More information about the llvm-commits mailing list