diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-10-27 07:11:43 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-10-27 07:11:43 +0000 |
commit | b25abd1a5435b460deb35bc0a04c5aad1df24bd6 (patch) | |
tree | 5f13ae8f5f563356db53715a4b9d5fad8d88a64e /clang/test/CodeGenObjC | |
parent | d59c0cac6ca1c5ced89588926fb2b1345a8ff682 (diff) | |
download | bcm5719-llvm-b25abd1a5435b460deb35bc0a04c5aad1df24bd6.tar.gz bcm5719-llvm-b25abd1a5435b460deb35bc0a04c5aad1df24bd6.zip |
Move these test from checking assembly to checking LLVM IR. Should fix fallout
from r143097.
llvm-svn: 143098
Diffstat (limited to 'clang/test/CodeGenObjC')
-rw-r--r-- | clang/test/CodeGenObjC/debug-info-block-helper.m | 4 | ||||
-rw-r--r-- | clang/test/CodeGenObjC/debug-info-getter-name.m | 8 | ||||
-rw-r--r-- | clang/test/CodeGenObjC/debug-info-pubtypes.m | 9 |
3 files changed, 6 insertions, 15 deletions
diff --git a/clang/test/CodeGenObjC/debug-info-block-helper.m b/clang/test/CodeGenObjC/debug-info-block-helper.m index 644e458bbd2..a290f0e51fa 100644 --- a/clang/test/CodeGenObjC/debug-info-block-helper.m +++ b/clang/test/CodeGenObjC/debug-info-block-helper.m @@ -1,8 +1,8 @@ // REQUIRES: x86-64-registered-target -// RUN: %clang_cc1 -masm-verbose -S -fblocks -g -triple x86_64-apple-darwin10 -fobjc-fragile-abi %s -o - | FileCheck %s +// 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: .ascii "__destroy_helper_block_" ## DW_AT_name +// CHECK: !36 = metadata !{i32 720942, 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, i32 0, i32 256, i1 false, void (i8*)* @__destroy_helper_block_, null, null, metadata !39} ; [ DW_TAG_subprogram ] @interface NSObject { struct objc_object *isa; diff --git a/clang/test/CodeGenObjC/debug-info-getter-name.m b/clang/test/CodeGenObjC/debug-info-getter-name.m index e7d3a9a8749..fe28b12ac09 100644 --- a/clang/test/CodeGenObjC/debug-info-getter-name.m +++ b/clang/test/CodeGenObjC/debug-info-getter-name.m @@ -1,11 +1,7 @@ // REQUIRES: x86-64-registered-target -// RUN: %clang_cc1 -fno-dwarf2-cfi-asm -triple x86_64-apple-darwin10 -fexceptions -fobjc-exceptions -S -g %s -o - | FileCheck %s +// RUN: %clang_cc1 -emit-llvm -triple x86_64-apple-darwin10 -fexceptions -fobjc-exceptions -g %s -o - | FileCheck %s -//CHECK: "-[InstanceVariablesEverywhereButTheInterface someString]": -//CHECK: .quad "-[InstanceVariablesEverywhereButTheInterface someString]" -//CHECK: .ascii "-[InstanceVariablesEverywhereButTheInterface someString]" -//CHECK: .asciz "-[InstanceVariablesEverywhereButTheInterface someString]" -//CHECK: "-[InstanceVariablesEverywhereButTheInterface someString].eh": +// CHECK: !30 = metadata !{i32 720942, i32 0, metadata !6, metadata !"-[InstanceVariablesEverywhereButTheInterface someString]", metadata !"-[InstanceVariablesEverywhereButTheInterface someString]", metadata !"", metadata !6, i32 27, metadata !31, i1 true, i1 true, i32 0, i32 0, i32 0, i32 320, i1 false, %1* (%0*, i8*)* @"\01-[InstanceVariablesEverywhereButTheInterface someString]", null, null, metadata !33} ; [ DW_TAG_subprogram ] //rdar: //8498026 diff --git a/clang/test/CodeGenObjC/debug-info-pubtypes.m b/clang/test/CodeGenObjC/debug-info-pubtypes.m index 744a366ce7c..c79dbb41fe9 100644 --- a/clang/test/CodeGenObjC/debug-info-pubtypes.m +++ b/clang/test/CodeGenObjC/debug-info-pubtypes.m @@ -1,12 +1,7 @@ // REQUIRES: x86-64-registered-target -// RUN: %clang -cc1 -triple x86_64-apple-darwin10 -g -S %s -o %t -// RUN: FileCheck %s < %t +// RUN: %clang -cc1 -triple x86_64-apple-darwin10 -g -emit-llvm %s -o - | FileCheck %s -//CHECK: .long Lset6 -//CHECK-NEXT: .long -//CHECK-NEXT: .asciz "H" -//CHECK-NEXT: .long 0 -//CHECK-NEXT: Lpubtypes_end1: +// CHECK: !10 = metadata !{i32 720915, metadata !6, metadata !"H", metadata !6, i32 6, i64 0, i64 8, i32 0, i32 512, i32 0, metadata !2, i32 16, i32 0} ; [ DW_TAG_structure_type ] @interface H -(void) foo; |