| 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 /// \file | 10 /// \file |
| 11 /// This file defines the basic commandline-based compile server. | 11 /// \brief Defines the basic commandline-based compile server. |
| 12 /// | 12 /// |
| 13 //===----------------------------------------------------------------------===// | 13 //===----------------------------------------------------------------------===// |
| 14 | 14 |
| 15 #include "IceCompileServer.h" | 15 #include "IceCompileServer.h" |
| 16 | 16 |
| 17 #include "IceClFlags.h" | 17 #include "IceClFlags.h" |
| 18 #include "IceClFlagsExtra.h" | 18 #include "IceClFlagsExtra.h" |
| 19 #include "IceELFStreamer.h" | 19 #include "IceELFStreamer.h" |
| 20 #include "IceGlobalContext.h" | 20 #include "IceGlobalContext.h" |
| 21 | 21 |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 }); | 201 }); |
| 202 CompileThread.join(); | 202 CompileThread.join(); |
| 203 } else { | 203 } else { |
| 204 getCompiler().run(ExtraFlags, *Ctx.get(), std::move(InputStream)); | 204 getCompiler().run(ExtraFlags, *Ctx.get(), std::move(InputStream)); |
| 205 } | 205 } |
| 206 transferErrorCode(getReturnValue( | 206 transferErrorCode(getReturnValue( |
| 207 ExtraFlags, static_cast<ErrorCodes>(Ctx->getErrorStatus()->value()))); | 207 ExtraFlags, static_cast<ErrorCodes>(Ctx->getErrorStatus()->value()))); |
| 208 } | 208 } |
| 209 | 209 |
| 210 } // end of namespace Ice | 210 } // end of namespace Ice |
| OLD | NEW |