From: Galina Kistanova Date: Mon, 6 May 2019 03:30:09 +0000 (+0000) Subject: The 'CodeGenObjC/illegal-UTF8.m' get failed with Clang built with 32-bit targets... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f14f7e2753fb69cec95009f4f3b2e3eab14e4f10;p=clang 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360005 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenObjC/illegal-UTF8.m b/test/CodeGenObjC/illegal-UTF8.m index 4762e80025..ef9c3fcda7 100644 --- a/test/CodeGenObjC/illegal-UTF8.m +++ b/test/CodeGenObjC/illegal-UTF8.m @@ -1,4 +1,4 @@ -// RUN: %clang %s -S -m64 -o - +// RUN: %clang %s -S -o - @class NSString;