aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineStripDebug.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2020-02-10 16:16:17 -0800
committerReid Kleckner <rnk@google.com>2020-04-09 14:19:36 -0700
commit55efb68c19b4911f780ec4d074f8ff2f8529883f (patch)
treeebfec7e96d703afcf6d2da100f89997ffb3eb5d3 /llvm/lib/CodeGen/MachineStripDebug.cpp
parent994d84b9192eba70369a4b65f0193c4545ae021b (diff)
downloadllvm-55efb68c19b4911f780ec4d074f8ff2f8529883f.zip
llvm-55efb68c19b4911f780ec4d074f8ff2f8529883f.tar.gz
llvm-55efb68c19b4911f780ec4d074f8ff2f8529883f.tar.bz2
[MS] Mark vbase dtors used when marking dtor used
In the MS C++ ABI, the complete destructor variant for a class with virtual bases is emitted whereever it is needed, instead of directly alongside the base destructor variant. The complete destructor calls the base destructor of the current class and the base destructors of each virtual base. In order for this to work reliably, translation units that use the destructor of a class also need to mark destructors of virtual bases of that class used. Fixes PR38521 Reviewed By: rsmith Differential Revision: https://reviews.llvm.org/D77081
Diffstat (limited to 'llvm/lib/CodeGen/MachineStripDebug.cpp')
0 files changed, 0 insertions, 0 deletions