From 1cc74bce59339e3a5a4648a5daa8cf0467e343e3 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 6 Mar 2014 07:29:30 +0000 Subject: [PATCH] CodeGenObjC/instr-profile.m: Add -target darwin to appease bots. This expected; ; Function Attrs: uwtable define internal void @"\01+[A foreach:]"(i8* %self, i8* %_cmd, %0* %array) #0 { But the Name is mangled on other hosts; (x86_64-unknown-unknown) ; Function Attrs: nounwind uwtable define internal void @_c_A__foreach_(i8* %self, i8* %_cmd, %1* %array) #0 { git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203092 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenObjC/instr-profile.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CodeGenObjC/instr-profile.m b/test/CodeGenObjC/instr-profile.m index 5fa43ef9cc..22f612b758 100644 --- a/test/CodeGenObjC/instr-profile.m +++ b/test/CodeGenObjC/instr-profile.m @@ -4,8 +4,8 @@ // of running the program generated by the -fprofile-instr-generate case. As // such, main() should call every function in this test. -// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-generate | FileCheck -check-prefix=PGOGEN %s -// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-profile.profdata | FileCheck -check-prefix=PGOUSE %s +// RUN: %clang -target x86_64-darwin %s -o - -emit-llvm -S -fprofile-instr-generate | FileCheck -check-prefix=PGOGEN %s +// RUN: %clang -target x86_64-darwin %s -o - -emit-llvm -S -fprofile-instr-use=%S/Inputs/instr-profile.profdata | FileCheck -check-prefix=PGOUSE %s #ifdef HAVE_FOUNDATION -- 2.40.0