[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git] / test / CodeGenObjC / image-info.m
blob2777723f736ff3960a2872a562aa96aff2dc5ca9
1 // RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s
2 // RUN: FileCheck --check-prefix CHECK-FRAGILE < %t %s
4 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o %t %s
5 // RUN: FileCheck --check-prefix CHECK-NONFRAGILE < %t %s
7 // CHECK-FRAGILE: @"\01L_OBJC_IMAGE_INFO" = internal constant [2 x i32] [i32 0, i32 16], section "__OBJC, __image_info,regular"
8 // CHECK-NONFRAGILE: @"\01L_OBJC_IMAGE_INFO" = internal constant [2 x i32] [i32 0, i32 16], section "__DATA, __objc_imageinfo, regular, no_dead_strip"