aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ExecutionEngine
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-04-05 23:03:24 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-04-05 23:03:24 +0000
commitd36d42d4aca35d15ef946a5f344b89be1baffecf (patch)
tree4ec41fcc32397fd51e86bcf4744ce2ec665f30d4 /include/llvm/ExecutionEngine
parent493cba1b32ebd4064e56a2387099b790c8c32c0c (diff)
downloadexternal_llvm-d36d42d4aca35d15ef946a5f344b89be1baffecf.zip
external_llvm-d36d42d4aca35d15ef946a5f344b89be1baffecf.tar.gz
external_llvm-d36d42d4aca35d15ef946a5f344b89be1baffecf.tar.bz2
Provide an empty virtual destructor to go with the virtual methods in
this class. Clang was warning on this with -Wnon-virtual-dtor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128952 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ExecutionEngine')
-rw-r--r--include/llvm/ExecutionEngine/RuntimeDyld.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ExecutionEngine/RuntimeDyld.h b/include/llvm/ExecutionEngine/RuntimeDyld.h
index 01fc338..5d6d452 100644
--- a/include/llvm/ExecutionEngine/RuntimeDyld.h
+++ b/include/llvm/ExecutionEngine/RuntimeDyld.h
@@ -33,6 +33,7 @@ class RTDyldMemoryManager {
void operator=(const RTDyldMemoryManager&); // DO NOT IMPLEMENT
public:
RTDyldMemoryManager() {}
+ virtual ~RTDyldMemoryManager() {}
// Allocate ActualSize bytes, or more, for the named function. Return
// a pointer to the allocated memory and update Size to reflect how much