aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-as/llvm-as.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-as/llvm-as.cpp')
-rw-r--r--tools/llvm-as/llvm-as.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/llvm-as/llvm-as.cpp b/tools/llvm-as/llvm-as.cpp
index d6f191961d..bb9afce271 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();