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

Galina Kistanova via cfe-commits cfe-commits at lists.llvm.org
Sun May 5 20:30:10 PDT 2019


Author: gkistanova
Date: Sun May  5 20:30:09 2019
New Revision: 360005

URL: http://llvm.org/viewvc/llvm-project?rev=360005&view=rev
Log:
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.

Patch by Vlad Vereschaka.

Differential Revision: https://reviews.llvm.org/D61345


Modified:
    cfe/trunk/test/CodeGenObjC/illegal-UTF8.m

Modified: cfe/trunk/test/CodeGenObjC/illegal-UTF8.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/illegal-UTF8.m?rev=360005&r1=360004&r2=360005&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/illegal-UTF8.m (original)
+++ cfe/trunk/test/CodeGenObjC/illegal-UTF8.m Sun May  5 20:30:09 2019
@@ -1,4 +1,4 @@
-// RUN: %clang %s -S -m64 -o -
+// RUN: %clang %s -S -o -
 
 @class NSString;
 




More information about the cfe-commits mailing list