| OLD | NEW |
| 1 //===-- SRPCStreamer.cpp - Stream bitcode over SRPC ----------------------===// | 1 //===-- SRPCStreamer.cpp - Stream bitcode over SRPC ----------------------===// |
| 2 // | 2 // |
| 3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
| 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 // | 10 // |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 int err = pthread_join(CompileThread, NULL); | 133 int err = pthread_join(CompileThread, NULL); |
| 134 if (err) { | 134 if (err) { |
| 135 if (ErrMsg) *ErrMsg = std::string(strerror(errno)); | 135 if (ErrMsg) *ErrMsg = std::string(strerror(errno)); |
| 136 return err; | 136 return err; |
| 137 } | 137 } |
| 138 if (Error && ErrMsg) *ErrMsg = std::string("compile failed."); | 138 if (Error && ErrMsg) *ErrMsg = std::string("compile failed."); |
| 139 return Error; | 139 return Error; |
| 140 } | 140 } |
| 141 | 141 |
| 142 #endif | 142 #endif |
| OLD | NEW |