summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-07-02 00:11:07 +0000
committerReid Kleckner <rnk@google.com>2016-07-02 00:11:07 +0000
commite092dad72cca55fb1c96ddbcc9cbddcc4657b7bb (patch)
tree81f55378a00740b663d47d51e9a416e7266938a0 /llvm/test
parent54a213d28052b136d375502da4232f71f03d5a53 (diff)
downloadbcm5719-llvm-e092dad72cca55fb1c96ddbcc9cbddcc4657b7bb.tar.gz
bcm5719-llvm-e092dad72cca55fb1c96ddbcc9cbddcc4657b7bb.zip
[codeview] Set the Nested and Scoped ClassOptions based on the scope chain
These are set on both the declaration record and the definition record. llvm-svn: 274410
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/DebugInfo/COFF/bitfields.ll6
-rw-r--r--llvm/test/DebugInfo/COFF/scopes.ll6
-rw-r--r--llvm/test/DebugInfo/COFF/types-data-members.ll6
3 files changed, 12 insertions, 6 deletions
diff --git a/llvm/test/DebugInfo/COFF/bitfields.ll b/llvm/test/DebugInfo/COFF/bitfields.ll
index 46f006674ac..817bb88837d 100644
--- a/llvm/test/DebugInfo/COFF/bitfields.ll
+++ b/llvm/test/DebugInfo/COFF/bitfields.ll
@@ -66,8 +66,9 @@
; CHECK: Struct ([[anon_ty:.*]]) {
; CHECK: TypeLeafKind: LF_STRUCTURE (0x1505)
; CHECK: MemberCount: 0
-; CHECK: Properties [ (0x80)
+; CHECK: Properties [ (0x88)
; CHECK: ForwardReference (0x80)
+; CHECK: Nested (0x8)
; CHECK: ]
; CHECK: FieldList: 0x0
; CHECK: SizeOf: 0
@@ -141,7 +142,8 @@
; CHECK: Struct ({{.*}}) {
; CHECK: TypeLeafKind: LF_STRUCTURE (0x1505)
; CHECK: MemberCount: 2
-; CHECK: Properties [ (0x0)
+; CHECK: Properties [ (0x8)
+; CHECK: Nested (0x8)
; CHECK: ]
; CHECK: FieldList: <field list> ([[anon_fl]])
; CHECK: SizeOf: 3
diff --git a/llvm/test/DebugInfo/COFF/scopes.ll b/llvm/test/DebugInfo/COFF/scopes.ll
index e07e92ddb7d..d7b4962945d 100644
--- a/llvm/test/DebugInfo/COFF/scopes.ll
+++ b/llvm/test/DebugInfo/COFF/scopes.ll
@@ -29,8 +29,9 @@
; CHECK: Struct ({{.*}}) {
; CHECK: TypeLeafKind: LF_STRUCTURE (0x1505)
; CHECK: MemberCount: 0
-; CHECK: Properties [ (0x80)
+; CHECK: Properties [ (0x180)
; CHECK: ForwardReference (0x80)
+; CHECK: Scoped (0x100)
; CHECK: ]
; CHECK: FieldList: 0x0
; CHECK: DerivedFrom: 0x0
@@ -42,7 +43,8 @@
; CHECK: Struct ({{.*}}) {
; CHECK: TypeLeafKind: LF_STRUCTURE (0x1505)
; CHECK: MemberCount: 1
-; CHECK: Properties [ (0x0)
+; CHECK: Properties [ (0x100)
+; CHECK: Scoped (0x100)
; CHECK: ]
; CHECK: Name: foo::bar::baz::LocalRecord
; CHECK: }
diff --git a/llvm/test/DebugInfo/COFF/types-data-members.ll b/llvm/test/DebugInfo/COFF/types-data-members.ll
index 79c40b7363e..70a509714b6 100644
--- a/llvm/test/DebugInfo/COFF/types-data-members.ll
+++ b/llvm/test/DebugInfo/COFF/types-data-members.ll
@@ -337,9 +337,10 @@
; CHECK: Struct (0x1019) {
; CHECK: TypeLeafKind: LF_STRUCTURE (0x1505)
; CHECK: MemberCount: 0
-; CHECK: Properties [ (0x280)
+; CHECK: Properties [ (0x288)
; CHECK: ForwardReference (0x80)
; CHECK: HasUniqueName (0x200)
+; CHECK: Nested (0x8)
; CHECK: ]
; CHECK: FieldList: 0x0
; CHECK: DerivedFrom: 0x0
@@ -360,8 +361,9 @@
; CHECK: Struct (0x101B) {
; CHECK: TypeLeafKind: LF_STRUCTURE (0x1505)
; CHECK: MemberCount: 1
-; CHECK: Properties [ (0x200)
+; CHECK: Properties [ (0x208)
; CHECK: HasUniqueName (0x200)
+; CHECK: Nested (0x8)
; CHECK: ]
; CHECK: FieldList: <field list> (0x101A)
; CHECK: DerivedFrom: 0x0
OpenPOWER on IntegriCloud