]> granicus.if.org Git - llvm/commit
Remove the unnecessary virtual dtor from the DIEUnit hierarchy (in favor of protected...
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 22 Apr 2017 02:18:00 +0000 (02:18 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 22 Apr 2017 02:18:00 +0000 (02:18 +0000)
commita753d9a103647208b4ff0d21517e40b30511b818
tree3b02fef3ea1f101e1ee6db77d4a97e9c4f217a09
parent9254ae141b047fc9ec1341253e65df453c725dd2
Remove the unnecessary virtual dtor from the DIEUnit hierarchy (in favor of protected dtor in the base, final derived classes with public non-virtual dtors)

These objects are never polymorphically owned/destroyed, so the virtual
dtor was unnecessary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301068 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/DIE.h
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
lib/CodeGen/AsmPrinter/DwarfUnit.h
tools/dsymutil/DwarfLinker.cpp
unittests/DebugInfo/DWARF/DwarfGenerator.h