diff options
author | Reid Kleckner <rnk@google.com> | 2016-08-31 15:59:30 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-08-31 15:59:30 +0000 |
commit | 9dac47319d29430e6fc6e04d2839e0f2c45dffac (patch) | |
tree | a14fd5fa316c0b6db97cd62814052b0b6b009367 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h | |
parent | 9099901099fe65df184c5ff9cb4d08cfc4fd5eea (diff) | |
download | llvm-9dac47319d29430e6fc6e04d2839e0f2c45dffac.zip llvm-9dac47319d29430e6fc6e04d2839e0f2c45dffac.tar.gz llvm-9dac47319d29430e6fc6e04d2839e0f2c45dffac.tar.bz2 |
[codeview] Emit vtable shape information
The shape of the vtable is passed down as the size of the
__vtbl_ptr_type. This special pointer type appears both as the pointee
type of the vptr type, and by itself in every dynamic class. For classes
with multiple vtables, only the shape of the primary vftable is
included, as the shape of all secondary vftables will be the same as in
the base class.
Fixes PR28150
llvm-svn: 280254
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h index e4bbd61..2dc3323 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h @@ -251,6 +251,7 @@ class LLVM_LIBRARY_VISIBILITY CodeViewDebug : public DebugHandlerBase { codeview::TypeIndex lowerTypeMemberPointer(const DIDerivedType *Ty); codeview::TypeIndex lowerTypeModifier(const DIDerivedType *Ty); codeview::TypeIndex lowerTypeFunction(const DISubroutineType *Ty); + codeview::TypeIndex lowerTypeVFTableShape(const DIDerivedType *Ty); codeview::TypeIndex lowerTypeMemberFunction(const DISubroutineType *Ty, const DIType *ClassTy, int ThisAdjustment); |