summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/PDB
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-09-17 21:07:48 +0000
committerZachary Turner <zturner@google.com>2018-09-17 21:07:48 +0000
commit4727ac23947013a1f1cdd1f8ced7002f3bc06c72 (patch)
tree543c6c69567957835d796085961e4f9239e2a8cb /llvm/test/DebugInfo/PDB
parent8639c5d565cb48f56b9abeeea1e3932c0aa605f2 (diff)
downloadbcm5719-llvm-4727ac23947013a1f1cdd1f8ced7002f3bc06c72.tar.gz
bcm5719-llvm-4727ac23947013a1f1cdd1f8ced7002f3bc06c72.zip
[PDB] Make the native reader support modified types.
Previously for cv-qualified types, we would just ignore them and they would never get printed. Now we can enumerate them and cache them like any other symbol type. llvm-svn: 342414
Diffstat (limited to 'llvm/test/DebugInfo/PDB')
-rw-r--r--llvm/test/DebugInfo/PDB/Native/pdb-native-enums.test25
1 files changed, 25 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/PDB/Native/pdb-native-enums.test b/llvm/test/DebugInfo/PDB/Native/pdb-native-enums.test
index ed2eb690190..6777f0b00d1 100644
--- a/llvm/test/DebugInfo/PDB/Native/pdb-native-enums.test
+++ b/llvm/test/DebugInfo/PDB/Native/pdb-native-enums.test
@@ -6,6 +6,7 @@
ENUMS: enum FooClass::NestedEnum {
ENUMS-NEXT: }
+ENUMS: const volatile enum FooClass::NestedEnum
DUMP: {
DUMP-NEXT: symIndexId: 2
@@ -223,3 +224,27 @@ DUMP-NEXT: unalignedType: 0
DUMP-NEXT: isValueUdt: 0
DUMP-NEXT: volatileType: 0
DUMP-NEXT: }
+DUMP-NEXT: {
+DUMP-NEXT: symIndexId: 12
+DUMP-NEXT: symTag: 12
+DUMP-NEXT: baseType: 6
+DUMP-NEXT: lexicalParentId: 0
+DUMP-NEXT: name: FooClass::NestedEnum
+DUMP-NEXT: typeId: 3
+DUMP-NEXT: length: 4
+DUMP-NEXT: constructor: 0
+DUMP-NEXT: constType: 1
+DUMP-NEXT: hasAssignmentOperator: 0
+DUMP-NEXT: hasCastOperator: 0
+DUMP-NEXT: hasNestedTypes: 0
+DUMP-NEXT: overloadedOperator: 0
+DUMP-NEXT: isInterfaceUdt: 0
+DUMP-NEXT: intrinsic: 0
+DUMP-NEXT: nested: 1
+DUMP-NEXT: packed: 0
+DUMP-NEXT: isRefUdt: 0
+DUMP-NEXT: scoped: 0
+DUMP-NEXT: unalignedType: 0
+DUMP-NEXT: isValueUdt: 0
+DUMP-NEXT: volatileType: 1
+DUMP-NEXT: }
OpenPOWER on IntegriCloud