diff options
author | Eric Christopher <echristo@apple.com> | 2012-03-30 01:07:48 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-03-30 01:07:48 +0000 |
commit | df02b36a2c16e87279047ef4c190add84a18f4af (patch) | |
tree | 875ce88c0666b8c535e3692acd188df12c40c924 /clang/test/CodeGenObjC/debug-info-block-helper.m | |
parent | 219cf31f7d3ebbad8caed50c49ae7c2f04181e17 (diff) | |
download | bcm5719-llvm-df02b36a2c16e87279047ef4c190add84a18f4af.tar.gz bcm5719-llvm-df02b36a2c16e87279047ef4c190add84a18f4af.zip |
Change location information for synthesized properties to be at the
property file/line rather than the @synthesize file/line. Avoids
some nasty confusing-ness with conflating the file from the scope
and the line from the original declaration.
Update a couple of testcases accordingly since I had to change
that we actually use the passed in location in EmitFunctionStart.
Fixes rdar://11026482
llvm-svn: 153714
Diffstat (limited to 'clang/test/CodeGenObjC/debug-info-block-helper.m')
-rw-r--r-- | clang/test/CodeGenObjC/debug-info-block-helper.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/debug-info-block-helper.m b/clang/test/CodeGenObjC/debug-info-block-helper.m index 8f88eb58a8b..ff49e5fc61a 100644 --- a/clang/test/CodeGenObjC/debug-info-block-helper.m +++ b/clang/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: !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 ] +// CHECK: !40 = metadata !{i32 {{.*}}, i32 0, metadata !25, metadata !"__destroy_helper_block_", metadata !"__destroy_helper_block_", metadata !"", metadata !25, 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; |