| OLD | NEW |
| 1 //===- subzero/src/IceCompileServer.cpp - Compile server ------------------===// | 1 //===- subzero/src/IceCompileServer.cpp - Compile server ------------------===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 /// |
| 10 // This file defines the basic commandline-based compile server. | 10 /// \file |
| 11 // | 11 /// This file defines the basic commandline-based compile server. |
| 12 /// |
| 12 //===----------------------------------------------------------------------===// | 13 //===----------------------------------------------------------------------===// |
| 13 | 14 |
| 14 #include "IceCompileServer.h" | 15 #include "IceCompileServer.h" |
| 15 | 16 |
| 16 #include "IceClFlags.h" | 17 #include "IceClFlags.h" |
| 17 #include "IceClFlagsExtra.h" | 18 #include "IceClFlagsExtra.h" |
| 18 #include "IceELFStreamer.h" | 19 #include "IceELFStreamer.h" |
| 19 #include "IceGlobalContext.h" | 20 #include "IceGlobalContext.h" |
| 20 | 21 |
| 21 #pragma clang diagnostic push | 22 #pragma clang diagnostic push |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 }); | 172 }); |
| 172 CompileThread.join(); | 173 CompileThread.join(); |
| 173 } else { | 174 } else { |
| 174 getCompiler().run(ExtraFlags, *Ctx.get(), std::move(InputStream)); | 175 getCompiler().run(ExtraFlags, *Ctx.get(), std::move(InputStream)); |
| 175 } | 176 } |
| 176 transferErrorCode(getReturnValue( | 177 transferErrorCode(getReturnValue( |
| 177 ExtraFlags, static_cast<ErrorCodes>(Ctx->getErrorStatus()->value()))); | 178 ExtraFlags, static_cast<ErrorCodes>(Ctx->getErrorStatus()->value()))); |
| 178 } | 179 } |
| 179 | 180 |
| 180 } // end of namespace Ice | 181 } // end of namespace Ice |
| OLD | NEW |