[llvm] f2980e8 - [ORC] Fix missing return value.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 13 14:31:32 PST 2020
Author: Lang Hames
Date: 2020-11-14T09:31:20+11:00
New Revision: f2980e8849a7d82a5896cae25a7abf31a007b082
URL: https://github.com/llvm/llvm-project/commit/f2980e8849a7d82a5896cae25a7abf31a007b082
DIFF: https://github.com/llvm/llvm-project/commit/f2980e8849a7d82a5896cae25a7abf31a007b082.diff
LOG: [ORC] Fix missing return value.
Added:
Modified:
llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp b/llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp
index 78227f3f423b..09a01c242dee 100644
--- a/llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp
+++ b/llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp
@@ -48,6 +48,7 @@ int openListener(std::string Host, int Port) {
#ifndef LLVM_ON_UNIX
// FIXME: Add TCP support for Windows.
printErrorAndExit("listen option not supported");
+ return 0;
#else
int SockFD = socket(PF_INET, SOCK_STREAM, 0);
struct sockaddr_in ServerAddr, ClientAddr;
More information about the llvm-commits
mailing list