r360363 - Specify target triple to fix the tests I committed in r360359 that are
Akira Hatanaka via cfe-commits
cfe-commits at lists.llvm.org
Thu May 9 11:32:16 PDT 2019
Author: ahatanak
Date: Thu May 9 11:32:16 2019
New Revision: 360363
URL: http://llvm.org/viewvc/llvm-project?rev=360363&view=rev
Log:
Specify target triple to fix the tests I committed in r360359 that are
still failing.
Modified:
cfe/trunk/test/CodeGenObjC/externally-initialized-selectors.m
cfe/trunk/test/CodeGenObjC/forward-protocol-metadata-symbols.m
cfe/trunk/test/CodeGenObjCXX/externally-initialized-selectors.mm
Modified: cfe/trunk/test/CodeGenObjC/externally-initialized-selectors.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/externally-initialized-selectors.m?rev=360363&r1=360362&r2=360363&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/externally-initialized-selectors.m (original)
+++ cfe/trunk/test/CodeGenObjC/externally-initialized-selectors.m Thu May 9 11:32:16 2019
@@ -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
Modified: cfe/trunk/test/CodeGenObjC/forward-protocol-metadata-symbols.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/forward-protocol-metadata-symbols.m?rev=360363&r1=360362&r2=360363&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/forward-protocol-metadata-symbols.m (original)
+++ cfe/trunk/test/CodeGenObjC/forward-protocol-metadata-symbols.m Thu May 9 11:32:16 2019
@@ -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
Modified: cfe/trunk/test/CodeGenObjCXX/externally-initialized-selectors.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjCXX/externally-initialized-selectors.mm?rev=360363&r1=360362&r2=360363&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjCXX/externally-initialized-selectors.mm (original)
+++ cfe/trunk/test/CodeGenObjCXX/externally-initialized-selectors.mm Thu May 9 11:32:16 2019
@@ -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
More information about the cfe-commits
mailing list