[PATCH] D61345: Allow 'CodeGenObjC/illegal-UTF8.m' test for 32-bit targets.

Vlad Vereschaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 30 14:40:09 PDT 2019


vvereschaka created this revision.
vvereschaka added a project: clang.
Herald added subscribers: cfe-commits, kristof.beyls, javed.absar.

The 'CodeGenObjC/illegal-UTF8.m' get failed with Clang built with 32-bit targets only (as example ARM-only) with the following error:

error: unable to create target: 'No available targets are compatible with triple "< ... any 64-bit target triple ... >"'

I didn't find any 64-bit dependencies for the test and I think removing '-m64' option should fix the problem and allow this test for any target specified by LLVM_DEFAULT_TARGET_TRIPLE.


Repository:
  rC Clang

https://reviews.llvm.org/D61345

Files:
  test/CodeGenObjC/illegal-UTF8.m


Index: test/CodeGenObjC/illegal-UTF8.m
===================================================================
--- test/CodeGenObjC/illegal-UTF8.m
+++ test/CodeGenObjC/illegal-UTF8.m
@@ -1,4 +1,4 @@
-// RUN: %clang %s -S -m64 -o -
+// RUN: %clang %s -S -o -
 
 @class NSString;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61345.197438.patch
Type: text/x-patch
Size: 276 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190430/101a5b39/attachment.bin>


More information about the cfe-commits mailing list