diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-03-21 20:20:15 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-03-21 20:20:15 +0000 |
commit | 8ad22a37af197f443d8db7c839327c34029f3767 (patch) | |
tree | 7ab508fd54d39e810cdd339de8c8abe207a3151a /clang/test/CodeGenObjC | |
parent | 63352de02e89257c672baa0a520dbe266695b593 (diff) | |
download | bcm5719-llvm-8ad22a37af197f443d8db7c839327c34029f3767.tar.gz bcm5719-llvm-8ad22a37af197f443d8db7c839327c34029f3767.zip |
Generalize debug info tests to be forward compatible with future DISubprogram changes
llvm-svn: 177659
Diffstat (limited to 'clang/test/CodeGenObjC')
-rw-r--r-- | clang/test/CodeGenObjC/debug-info-block-helper.m | 2 | ||||
-rw-r--r-- | clang/test/CodeGenObjC/debug-info-synthesis.m | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/debug-info-block-helper.m b/clang/test/CodeGenObjC/debug-info-block-helper.m index 5f4a87a5656..49c8c5daea8 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-runtime=macosx-fragile-10.5 %s -o - | FileCheck %s extern void foo(void(^)(void)); -// CHECK: metadata !{i32 786478, i32 0, metadata ![[FILE:.*]], metadata !"__destroy_helper_block_", metadata !"__destroy_helper_block_", metadata !"", metadata ![[FILE]], i32 24, metadata !{{.*}}, i1 true, i1 true, i32 0, i32 0, null, i32 0, i1 false, void (i8*)* @__destroy_helper_block_, null, null, metadata !{{.*}}, i32 24} ; [ DW_TAG_subprogram ] +// CHECK: [ DW_TAG_subprogram ] {{.*}} [__destroy_helper_block_] @interface NSObject { struct objc_object *isa; diff --git a/clang/test/CodeGenObjC/debug-info-synthesis.m b/clang/test/CodeGenObjC/debug-info-synthesis.m index 35aecd4f5be..1bf7576d886 100644 --- a/clang/test/CodeGenObjC/debug-info-synthesis.m +++ b/clang/test/CodeGenObjC/debug-info-synthesis.m @@ -31,4 +31,4 @@ int main(int argc, char *argv[]) { } // CHECK: ![[FILE:.*]] = {{.*}}[ DW_TAG_file_type ] [{{.*}}/foo.h] -// CHECK: !{{.*}} = metadata !{i32 {{.*}}, i32 0, metadata ![[FILE]], metadata !"-[Foo dict]", metadata !"-[Foo dict]", metadata !"", metadata ![[FILE]], i32 8, metadata !{{.*}}, i1 true, i1 true, i32 0, i32 0, null, i32 320, i1 false, %1* (%0*, i8*)* @"\01-[Foo dict]", null, null, metadata !{{.*}}, i32 8} ; [ DW_TAG_subprogram ] +// CHECK: metadata ![[FILE]], {{.*}} ; [ DW_TAG_subprogram ] [line 8] [local] [def] [-[Foo dict]] |