summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjCXX/debug-info-block-capture-this.mm
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-23 21:08:27 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-23 21:08:27 +0000
commit383f8413cf901c8ea026318b4f95ab00107fd38c (patch)
treece01f4128a4169db0dfec840c355d05f60e18b43 /clang/test/CodeGenObjCXX/debug-info-block-capture-this.mm
parenta59d3e5af889662139b8b08f2175f12567491441 (diff)
downloadbcm5719-llvm-383f8413cf901c8ea026318b4f95ab00107fd38c.tar.gz
bcm5719-llvm-383f8413cf901c8ea026318b4f95ab00107fd38c.zip
DebugInfo: Adapt to loss of DITypeRef in LLVM r267296
LLVM stopped using MDString-based type references, and DIBuilder no longer fills 'retainedTypes:' with every DICompositeType that has an 'identifier:' field. There are just minor changes to keep the same behaviour in CFE. Leaving 'retainedTypes:' unfilled has a dramatic impact on the output order of the IR though. There are a huge number of testcase changes, which were unfortunately not really scriptable. llvm-svn: 267297
Diffstat (limited to 'clang/test/CodeGenObjCXX/debug-info-block-capture-this.mm')
-rw-r--r--clang/test/CodeGenObjCXX/debug-info-block-capture-this.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjCXX/debug-info-block-capture-this.mm b/clang/test/CodeGenObjCXX/debug-info-block-capture-this.mm
index a1b120608cd..9464222b543 100644
--- a/clang/test/CodeGenObjCXX/debug-info-block-capture-this.mm
+++ b/clang/test/CodeGenObjCXX/debug-info-block-capture-this.mm
@@ -10,10 +10,11 @@ int main(int argc, const char * argv[]) {
return t.block();
}
+// CHECK: ![[TESTCT:[0-9]+]] = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "test"
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "__block_literal_1",
// CHECK-SAME: elements: ![[ELEMS:.*]])
// CHECK: ![[ELEMS]] = !{{{.*}}, ![[THIS:[0-9]+]]}
// CHECK: ![[THIS]] = !DIDerivedType(tag: DW_TAG_member, name: "this",
-// CHECK-SAME: baseType: !"_ZTS4test",
+// CHECK-SAME: baseType: ![[TESTCT]],
OpenPOWER on IntegriCloud