diff --git a/llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp b/llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp index 88d4cf9f58eeb0..b17d196f01b63a 100644 --- a/llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp +++ b/llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp @@ -151,7 +151,6 @@ ELFNixPlatform::Create(ExecutionSession &ES, Error ELFNixPlatform::setupJITDylib(JITDylib &JD) { return JD.define( std::make_unique(*this, DSOHandleSymbol)); - return Error::success(); } Error ELFNixPlatform::notifyAdding(ResourceTracker &RT,