-Wdeprecated-clean: Fix cases of violating the rule of 5 in ways that are deprecated...
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 5 Aug 2015 20:20:29 +0000 (20:20 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 5 Aug 2015 20:20:29 +0000 (20:20 +0000)
commit3252585770c0624b018758f17657c559d20039bc
treea458f1bf5e94a87625c63d4f501a03bcedf6c704
parent50f5c7d1cd78737924c85a47d868d77b9bb1bb17
-Wdeprecated-clean: Fix cases of violating the rule of 5 in ways that are deprecated in C++11

LoadedObjectInfo was depending on the implicit copy ctor in the presence
of a user-declared dtor. Default (and protect) it in the base class and
make the devired classes final to avoid any risk of a public API that
would enable slicing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244112 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DIContext.h
include/llvm/ExecutionEngine/RuntimeDyld.h
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp