- string_ostream Str;
- Str << format("Parsing entry instructions at %lx failed", StartOffset);
- report_fatal_error(Str.str());
+ std::string Str;
+ raw_string_ostream OS(Str);
+ OS << format("Parsing entry instructions at %lx failed", StartOffset);
+ report_fatal_error(Str);