aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/debug-info-block-helper.m
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-02-16 01:13:30 +0000
committerBill Wendling <isanbard@gmail.com>2012-02-16 01:13:30 +0000
commit3973accabc855b81b55bcc1945a98b2adb2ce72a (patch)
treee984a8bb25ce4f1c0292bb8de2443bfa15e4e8ac /test/CodeGenObjC/debug-info-block-helper.m
parentf8490eeb966103516da4e3ecb05e1a36b3e6e3ec (diff)
Use the new method for specifying garbage collection metadata in the module.
The garbage collection metadata needs to be merged "intelligently", when two or more modules are linked together, and not merely appended. (Appending creates a section which is too large.) The module flags metadata method is the way to do this. <rdar://problem/8198537> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150648 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjC/debug-info-block-helper.m')
-rw-r--r--test/CodeGenObjC/debug-info-block-helper.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenObjC/debug-info-block-helper.m b/test/CodeGenObjC/debug-info-block-helper.m
index 59086a568f..8f88eb58a8 100644
--- a/test/CodeGenObjC/debug-info-block-helper.m
+++ b/test/CodeGenObjC/debug-info-block-helper.m
@@ -2,7 +2,7 @@
// RUN: %clang_cc1 -emit-llvm -fblocks -g -triple x86_64-apple-darwin10 -fobjc-fragile-abi %s -o - | FileCheck %s
extern void foo(void(^)(void));
-// CHECK: !36 = metadata !{i32 {{.*}}, i32 0, metadata !6, metadata !"__destroy_helper_block_", metadata !"__destroy_helper_block_", metadata !"", metadata !6, i32 24, metadata !37, i1 true, i1 true, i32 0, i32 0, null, i32 256, i1 false, void (i8*)* @__destroy_helper_block_, null, null, metadata !39} ; [ DW_TAG_subprogram ]
+// CHECK: !40 = metadata !{i32 {{.*}}, i32 0, metadata !10, metadata !"__destroy_helper_block_", metadata !"__destroy_helper_block_", metadata !"", metadata !10, i32 24, metadata !41, i1 true, i1 true, i32 0, i32 0, null, i32 256, i1 false, void (i8*)* @__destroy_helper_block_, null, null, metadata !43} ; [ DW_TAG_subprogram ]
@interface NSObject {
struct objc_object *isa;