[llvm] f22c9dd - [ORC] Single-symbol convenience method does not need to be virtual.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 11:12:54 PDT 2024


Author: Lang Hames
Date: 2024-10-29T11:12:48-07:00
New Revision: f22c9ddb36dca84547212e087de3319dcc6bea49

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

LOG: [ORC] Single-symbol convenience method does not need to be virtual.

This convenience method just calls the general case which is already virtual.

Added: 
    

Modified: 
    llvm/include/llvm/ExecutionEngine/Orc/RedirectionManager.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ExecutionEngine/Orc/RedirectionManager.h b/llvm/include/llvm/ExecutionEngine/Orc/RedirectionManager.h
index 4004c42d914684..f2ea1f5b64c533 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/RedirectionManager.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/RedirectionManager.h
@@ -32,8 +32,8 @@ class RedirectionManager {
 
   /// Change the redirection destination of given symbol to new destination
   /// symbol.
-  virtual Error redirect(JITDylib &JD, SymbolStringPtr Symbol,
-                         ExecutorSymbolDef NewDest) {
+  Error redirect(JITDylib &JD, SymbolStringPtr Symbol,
+                 ExecutorSymbolDef NewDest) {
     return redirect(JD, {{Symbol, NewDest}});
   }
 


        


More information about the llvm-commits mailing list