| Index: tools/llvm-as/llvm-as.cpp
|
| diff --git a/tools/llvm-as/llvm-as.cpp b/tools/llvm-as/llvm-as.cpp
|
| index 5ccf505923f2d7f19071613a0aea45cade34b8e6..f398066e883c083000005ec27091c782566220c7 100644
|
| --- a/tools/llvm-as/llvm-as.cpp
|
| +++ b/tools/llvm-as/llvm-as.cpp
|
| @@ -77,8 +77,11 @@ static void WriteOutputFile(const Module *M) {
|
| exit(1);
|
| }
|
|
|
| - if (Force || !CheckBitcodeOutputToConsole(Out->os(), true))
|
| + // @LOCALMOD-BEGIN
|
| + if (Force || !CheckBitcodeOutputToConsole(Out->os(), true)) {
|
| WriteBitcodeToFile(M, Out->os());
|
| + }
|
| + // @LOCALMOD-END
|
|
|
| // Declare success.
|
| Out->keep();
|
|
|