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

llvm-svn: 360005
This commit is contained in:
Galina Kistanova 2019-05-06 03:30:09 +00:00
parent 6971a166d9
commit 9dd6537b3a

View File

@ -1,4 +1,4 @@
// RUN: %clang %s -S -m64 -o -
// RUN: %clang %s -S -o -
@class NSString;