[PATCH] D119064: [orc] Change LLJIT's dtor to a virtual dtor

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 9 15:23:20 PST 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9b25d868f43e: [ORC] Make LLJIT's destructor virtual. (authored by lhames).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119064/new/

https://reviews.llvm.org/D119064

Files:
  llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h


Index: llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
===================================================================
--- llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
+++ llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
@@ -56,7 +56,7 @@
 
   /// Destruct this instance. If a multi-threaded instance, waits for all
   /// compile threads to complete.
-  ~LLJIT();
+  virtual ~LLJIT();
 
   /// Returns the ExecutionSession for this instance.
   ExecutionSession &getExecutionSession() { return *ES; }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119064.407319.patch
Type: text/x-patch
Size: 502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220209/238931ee/attachment.bin>


More information about the llvm-commits mailing list