| Index: src/PNaClTranslator.cpp
|
| diff --git a/src/PNaClTranslator.cpp b/src/PNaClTranslator.cpp
|
| index ce462396537e1990410eae780ab88bf4289e49db..42a207b510bafb456cdf9b3f1351aa22afc68a74 100644
|
| --- a/src/PNaClTranslator.cpp
|
| +++ b/src/PNaClTranslator.cpp
|
| @@ -488,7 +488,7 @@ bool TopLevelParser::ErrorAt(naclbitc::ErrorLevel Level, uint64_t Bit,
|
| Ice::GlobalContext *Context = Translator.getContext();
|
| { // Lock while printing out error message.
|
| Ice::OstreamLocker L(Context);
|
| - raw_ostream &OldErrStream = setErrStream(Context->getStrDump());
|
| + raw_ostream &OldErrStream = setErrStream(Context->getStrError());
|
| NaClBitcodeParser::ErrorAt(Level, Bit, Message);
|
| setErrStream(OldErrStream);
|
| }
|
|
|