[llvm] 0ef51db - Revert "[Orc] Allow OrcGenericABI variant of LazyCallThroughManager"

Stefan Gränitz via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 23 07:23:57 PDT 2021


Author: Stefan Gränitz
Date: 2021-03-23T15:23:33+01:00
New Revision: 0ef51db5a45d8d9d46641da0255623c431e55d4f

URL: https://github.com/llvm/llvm-project/commit/0ef51db5a45d8d9d46641da0255623c431e55d4f
DIFF: https://github.com/llvm/llvm-project/commit/0ef51db5a45d8d9d46641da0255623c431e55d4f.diff

LOG: Revert "[Orc] Allow OrcGenericABI variant of LazyCallThroughManager"

This reverts commit 61974268269f96b672a50eac40a5a8eeb4acd6d3.

Added: 
    

Modified: 
    llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp b/llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
index bc339321fb55..e1f494415e86 100644
--- a/llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
@@ -107,8 +107,9 @@ createLocalLazyCallThroughManager(const Triple &T, ExecutionSession &ES,
                                   JITTargetAddress ErrorHandlerAddr) {
   switch (T.getArch()) {
   default:
-    return LocalLazyCallThroughManager::Create<OrcGenericABI>(ES,
-                                                              ErrorHandlerAddr);
+    return make_error<StringError>(
+        std::string("No callback manager available for ") + T.str(),
+        inconvertibleErrorCode());
 
   case Triple::aarch64:
   case Triple::aarch64_32:


        


More information about the llvm-commits mailing list