]> granicus.if.org Git - clang/commitdiff
Specify target triple to fix the tests I committed in r360359 that are
authorAkira Hatanaka <ahatanaka@apple.com>
Thu, 9 May 2019 18:32:16 +0000 (18:32 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Thu, 9 May 2019 18:32:16 +0000 (18:32 +0000)
still failing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360363 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenObjC/externally-initialized-selectors.m
test/CodeGenObjC/forward-protocol-metadata-symbols.m
test/CodeGenObjCXX/externally-initialized-selectors.mm

index d31a74fe0d03297a1c13d1243d909e80f7de6b55..6ec97d4322e0a725076135e7103af6e0a08ebe9d 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: %clang_cc1 -fobjc-runtime=macosx-fragile-10.5 -o - -emit-llvm %s | FileCheck -check-prefix=FRAGILE %s
-// RUN: %clang_cc1 -fobjc-runtime=macosx-10.14 -o - -emit-llvm %s | FileCheck -check-prefix=NONFRAGILE %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-10.14 -o - -emit-llvm %s | FileCheck -check-prefix=NONFRAGILE %s
 
 // NONFRAGILE: @OBJC_SELECTOR_REFERENCES_ = internal externally_initialized global
 // FRAGILE: @OBJC_SELECTOR_REFERENCES_ = private externally_initialized global
index 836ad06aaf50e9cfe84c699fc2c1fe79b2e2e9f9..4d81b9e44db077d6677a950381b5ba7ea366afee 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fobjc-runtime=macosx-10.14 -emit-llvm -x objective-c %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-10.14 -emit-llvm -x objective-c %s -o - | FileCheck %s
 // rdar://16203115
 
 @interface NSObject @end
index d31a74fe0d03297a1c13d1243d909e80f7de6b55..6ec97d4322e0a725076135e7103af6e0a08ebe9d 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: %clang_cc1 -fobjc-runtime=macosx-fragile-10.5 -o - -emit-llvm %s | FileCheck -check-prefix=FRAGILE %s
-// RUN: %clang_cc1 -fobjc-runtime=macosx-10.14 -o - -emit-llvm %s | FileCheck -check-prefix=NONFRAGILE %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-10.14 -o - -emit-llvm %s | FileCheck -check-prefix=NONFRAGILE %s
 
 // NONFRAGILE: @OBJC_SELECTOR_REFERENCES_ = internal externally_initialized global
 // FRAGILE: @OBJC_SELECTOR_REFERENCES_ = private externally_initialized global