mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 13:56:07 +00:00

This patch removes uses of the Darwin ABI for PowerPC related test cases. This is the first step in removing Darwin support from the POWER backend. clang/test/CodeGen/darwin-ppc-varargs.c was deleted because it was a darwin/ppc specific test case. All other tests were updated to remove the darwin/ppc specific invocation. Phabricator Review: https://reviews.llvm.org/D50989. llvm-svn: 340770
12 lines
932 B
C
12 lines
932 B
C
// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix CHECK-LSB %s
|
|
|
|
// CHECK-LSB: @.str = private unnamed_addr constant [8 x i8] c"string0\00"
|
|
// CHECK-LSB: @.str.1 = private unnamed_addr constant [8 x i8] c"string1\00"
|
|
// CHECK-LSB: @.str.2 = private unnamed_addr constant [18 x i16] [i16 104, i16 101, i16 108, i16 108, i16 111, i16 32, i16 8594, i16 32, i16 9731, i16 32, i16 8592, i16 32, i16 119, i16 111, i16 114, i16 108, i16 100, i16 0], section "__TEXT,__ustring", align 2
|
|
// CHECK-LSB: @.str.4 = private unnamed_addr constant [6 x i16] [i16 116, i16 101, i16 115, i16 116, i16 8482, i16 0], section "__TEXT,__ustring", align 2
|
|
|
|
const char *g0 = "string0";
|
|
const void *g1 = __builtin___CFStringMakeConstantString("string1");
|
|
const void *g2 = __builtin___CFStringMakeConstantString("hello \u2192 \u2603 \u2190 world");
|
|
const void *g3 = __builtin___CFStringMakeConstantString("test™");
|