summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-06-16 21:32:16 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-06-16 21:32:16 +0000
commit979cb8887070437245313bf856a310a6cac5ef19 (patch)
tree381787e81a67a9c48c8cb76bd7457d700b81d1f4 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
parentf1c3906a5d18bee5415b421418f0dc67b6d7f9df (diff)
downloadbcm5719-llvm-979cb8887070437245313bf856a310a6cac5ef19.tar.gz
bcm5719-llvm-979cb8887070437245313bf856a310a6cac5ef19.zip
[CodeView] Implement support for enums
MSVC handles enums differently from structs and classes: a forward declaration is not emitted unconditionally. MSVC does not emit an S_UDT record for the enum. Differential Revision: http://reviews.llvm.org/D21442 llvm-svn: 272960
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
index 4e90c770742..2e3e167f66a 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
@@ -224,6 +224,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 lowerTypeEnum(const DICompositeType *Ty);
codeview::TypeIndex lowerTypeClass(const DICompositeType *Ty);
codeview::TypeIndex lowerTypeUnion(const DICompositeType *Ty);
OpenPOWER on IntegriCloud