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

Sameer Rahmani via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 5 15:06:08 PST 2022


lxsameer updated this revision to Diff 406215.

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.406215.patch
Type: text/x-patch
Size: 502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220205/96c78301/attachment.bin>


More information about the llvm-commits mailing list