diff --git a/lib/DebugInfo/CodeView/TypeDumpVisitor.cpp b/lib/DebugInfo/CodeView/TypeDumpVisitor.cpp index 7c68c9167c9..f7afc068f2c 100644 --- a/lib/DebugInfo/CodeView/TypeDumpVisitor.cpp +++ b/lib/DebugInfo/CodeView/TypeDumpVisitor.cpp @@ -361,7 +361,6 @@ Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, TypeServer2Record &TS) { Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, PointerRecord &Ptr) { printTypeIndex("PointeeType", Ptr.getReferentType()); - W->printHex("PointerAttributes", uint32_t(Ptr.getOptions())); W->printEnum("PtrType", unsigned(Ptr.getPointerKind()), makeArrayRef(PtrKindNames)); W->printEnum("PtrMode", unsigned(Ptr.getMode()), makeArrayRef(PtrModeNames)); diff --git a/test/DebugInfo/COFF/defer-complete-type.ll b/test/DebugInfo/COFF/defer-complete-type.ll index 109046c914d..7a5d552be4f 100644 --- a/test/DebugInfo/COFF/defer-complete-type.ll +++ b/test/DebugInfo/COFF/defer-complete-type.ll @@ -30,7 +30,6 @@ ; CHECK: Pointer (0x1001) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: A (0x1000) -; CHECK: PointerAttributes: 0x1000C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 @@ -72,7 +71,6 @@ ; CHECK: Pointer (0x1005) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: B (0x1004) -; CHECK: PointerAttributes: 0x1000C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 diff --git a/test/DebugInfo/COFF/globals.ll b/test/DebugInfo/COFF/globals.ll index fac53e1805c..f26e11c94e9 100644 --- a/test/DebugInfo/COFF/globals.ll +++ b/test/DebugInfo/COFF/globals.ll @@ -59,7 +59,6 @@ ; OBJ: Pointer (0x1001) { ; OBJ: TypeLeafKind: LF_POINTER (0x1002) ; OBJ: PointeeType: const int (0x1000) -; OBJ: PointerAttributes: 0x1000C ; OBJ: PtrType: Near64 (0xC) ; OBJ: PtrMode: Pointer (0x0) ; OBJ: IsFlat: 0 diff --git a/test/DebugInfo/COFF/type-quals.ll b/test/DebugInfo/COFF/type-quals.ll index 9bcc58f3556..ea1deb4764c 100644 --- a/test/DebugInfo/COFF/type-quals.ll +++ b/test/DebugInfo/COFF/type-quals.ll @@ -52,7 +52,6 @@ ; CHECK: Pointer (0x1001) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: const volatile int (0x1000) -; CHECK: PointerAttributes: 0x1100C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 @@ -99,7 +98,6 @@ ; CHECK: Pointer (0x1006) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: int (0x74) -; CHECK: PointerAttributes: 0x1100C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 @@ -112,7 +110,6 @@ ; CHECK: Pointer (0x1007) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: float (0x40) -; CHECK: PointerAttributes: 0x1100C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 @@ -125,7 +122,6 @@ ; CHECK: Pointer (0x1008) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: int (0x74) -; CHECK: PointerAttributes: 0x1120C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 @@ -170,7 +166,6 @@ ; CHECK: Pointer (0x100E) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: const int (0x100D) -; CHECK: PointerAttributes: 0x1000C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 @@ -183,7 +178,6 @@ ; CHECK: Pointer (0x100F) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: int (0x74) -; CHECK: PointerAttributes: 0x1102C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: LValueReference (0x1) ; CHECK: IsFlat: 0 @@ -252,7 +246,6 @@ ; CHECK: Pointer (0x1017) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: h::Foo (0x1016) -; CHECK: PointerAttributes: 0x1000C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 @@ -313,7 +306,6 @@ ; CHECK: Pointer (0x101D) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: int (0x74) -; CHECK: PointerAttributes: 0x904C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: PointerToDataMember (0x2) ; CHECK: IsFlat: 0 @@ -328,7 +320,6 @@ ; CHECK: Pointer (0x101E) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: int h::Foo::(int) (0x1019) -; CHECK: PointerAttributes: 0x1006C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: PointerToMemberFunction (0x3) ; CHECK: IsFlat: 0 diff --git a/test/DebugInfo/COFF/types-array-advanced.ll b/test/DebugInfo/COFF/types-array-advanced.ll index 7ddca6ca516..e1a8c1841bb 100644 --- a/test/DebugInfo/COFF/types-array-advanced.ll +++ b/test/DebugInfo/COFF/types-array-advanced.ll @@ -53,7 +53,6 @@ ; CHECK: Pointer (0x1004) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: 0x1003 -; CHECK: PointerAttributes: 0x2A ; CHECK: PtrType: Near32 (0xA) ; CHECK: PtrMode: LValueReference (0x1) ; CHECK: IsFlat: 0 @@ -107,7 +106,6 @@ ; CHECK: Pointer (0x100A) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: 0x1009 -; CHECK: PointerAttributes: 0x800A ; CHECK: PtrType: Near32 (0xA) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 diff --git a/test/DebugInfo/COFF/types-basic.ll b/test/DebugInfo/COFF/types-basic.ll index 57282dad6de..220fd5e3939 100644 --- a/test/DebugInfo/COFF/types-basic.ll +++ b/test/DebugInfo/COFF/types-basic.ll @@ -69,7 +69,6 @@ ; CHECK: Pointer (0x1004) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: const int (0x1003) -; CHECK: PointerAttributes: 0x1000C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 @@ -92,7 +91,6 @@ ; CHECK: Pointer (0x1006) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: int (0x74) -; CHECK: PointerAttributes: 0x804C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: PointerToDataMember (0x2) ; CHECK: IsFlat: 0 @@ -105,7 +103,6 @@ ; CHECK: Pointer (0x1007) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: A (0x1005) -; CHECK: PointerAttributes: 0x1000C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 @@ -170,7 +167,6 @@ ; CHECK: Pointer (0x100E) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: void A::() (0x1009) -; CHECK: PointerAttributes: 0x1006C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: PointerToMemberFunction (0x3) ; CHECK: IsFlat: 0 @@ -190,7 +186,6 @@ ; CHECK: Pointer (0x1010) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: const void (0x100F) -; CHECK: PointerAttributes: 0x1000C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 diff --git a/test/DebugInfo/COFF/types-calling-conv.ll b/test/DebugInfo/COFF/types-calling-conv.ll index 4be18256f8a..d2359bcbf7f 100644 --- a/test/DebugInfo/COFF/types-calling-conv.ll +++ b/test/DebugInfo/COFF/types-calling-conv.ll @@ -30,7 +30,6 @@ ; CHECK: Pointer (0x1001) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: A (0x1000) -; CHECK: PointerAttributes: 0x800A ; CHECK: PtrType: Near32 (0xA) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 diff --git a/test/DebugInfo/COFF/types-data-members.ll b/test/DebugInfo/COFF/types-data-members.ll index c7d3c656323..af60838768c 100644 --- a/test/DebugInfo/COFF/types-data-members.ll +++ b/test/DebugInfo/COFF/types-data-members.ll @@ -247,7 +247,6 @@ ; CHECK: Pointer (0x1012) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: const int (0x1004) -; CHECK: PointerAttributes: 0x1000C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 @@ -263,7 +262,6 @@ ; CHECK: Pointer (0x1014) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: (0x1013) -; CHECK: PointerAttributes: 0x1000C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 @@ -362,7 +360,6 @@ ; CHECK: Pointer (0x101C) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: DerivedClass (0x1011) -; CHECK: PointerAttributes: 0x1000C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 diff --git a/test/DebugInfo/COFF/types-non-virtual-methods.ll b/test/DebugInfo/COFF/types-non-virtual-methods.ll index 687d1bdf6f5..5c99dae69c1 100644 --- a/test/DebugInfo/COFF/types-non-virtual-methods.ll +++ b/test/DebugInfo/COFF/types-non-virtual-methods.ll @@ -64,7 +64,6 @@ ; CHECK: Pointer (0x1004) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: A (0x1003) -; CHECK: PointerAttributes: 0x800A ; CHECK: PtrType: Near32 (0xA) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 @@ -144,7 +143,6 @@ ; CHECK: Pointer (0x100B) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: B (0x100A) -; CHECK: PointerAttributes: 0x800A ; CHECK: PtrType: Near32 (0xA) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0 diff --git a/test/DebugInfo/COFF/types-ptr-to-member.ll b/test/DebugInfo/COFF/types-ptr-to-member.ll index 52640ec472a..3961be68a4d 100644 --- a/test/DebugInfo/COFF/types-ptr-to-member.ll +++ b/test/DebugInfo/COFF/types-ptr-to-member.ll @@ -27,7 +27,6 @@ ; CHECK: Pointer ({{.*}}) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: int (0x74) -; CHECK: PointerAttributes: 0x804C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: PointerToDataMember (0x2) ; CHECK: IsFlat: 0 @@ -41,7 +40,6 @@ ; CHECK: Pointer ({{.*}}) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: int (0x74) -; CHECK: PointerAttributes: 0x804C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: PointerToDataMember (0x2) ; CHECK: IsFlat: 0 @@ -55,7 +53,6 @@ ; CHECK: Pointer ({{.*}}) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: int (0x74) -; CHECK: PointerAttributes: 0x1004C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: PointerToDataMember (0x2) ; CHECK: IsFlat: 0 @@ -69,7 +66,6 @@ ; CHECK: Pointer ({{.*}}) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: int (0x74) -; CHECK: PointerAttributes: 0x1804C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: PointerToDataMember (0x2) ; CHECK: IsFlat: 0 @@ -86,7 +82,6 @@ ; CHECK: Pointer ({{.*}}) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: void A::() -; CHECK: PointerAttributes: 0x1006C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: PointerToMemberFunction (0x3) ; CHECK: IsFlat: 0 @@ -100,7 +95,6 @@ ; CHECK: Pointer ({{.*}}) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: void C::() -; CHECK: PointerAttributes: 0x2006C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: PointerToMemberFunction (0x3) ; CHECK: IsFlat: 0 @@ -114,7 +108,6 @@ ; CHECK: Pointer ({{.*}}) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: void D::() -; CHECK: PointerAttributes: 0x2006C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: PointerToMemberFunction (0x3) ; CHECK: IsFlat: 0 @@ -128,7 +121,6 @@ ; CHECK: Pointer ({{.*}}) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: void E::() -; CHECK: PointerAttributes: 0x3006C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: PointerToMemberFunction (0x3) ; CHECK: IsFlat: 0 @@ -144,7 +136,6 @@ ; CHECK: Pointer ({{.*}}) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: int -; CHECK: PointerAttributes: 0x4C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: PointerToDataMember (0x2) ; CHECK: IsFlat: 0 @@ -160,7 +151,6 @@ ; CHECK: Pointer ({{.*}}) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: void Incomplete::() -; CHECK: PointerAttributes: 0x6C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: PointerToMemberFunction (0x3) ; CHECK: IsFlat: 0 diff --git a/test/DebugInfo/COFF/types-recursive-struct.ll b/test/DebugInfo/COFF/types-recursive-struct.ll index 2a3af295f0b..3920826523b 100644 --- a/test/DebugInfo/COFF/types-recursive-struct.ll +++ b/test/DebugInfo/COFF/types-recursive-struct.ll @@ -69,7 +69,6 @@ ; CHECK: Pointer (0x1005) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) ; CHECK: PointeeType: B (0x1004) -; CHECK: PointerAttributes: 0x1000C ; CHECK: PtrType: Near64 (0xC) ; CHECK: PtrMode: Pointer (0x0) ; CHECK: IsFlat: 0