Skip to content

Commit

Permalink
The 'CodeGenObjC/illegal-UTF8.m' get failed with Clang built with 32-…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
gkistanova authored and MrSidims committed May 17, 2019
1 parent ff86589 commit 91f13be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/test/CodeGenObjC/illegal-UTF8.m
@@ -1,4 +1,4 @@
// RUN: %clang %s -S -m64 -o -
// RUN: %clang %s -S -o -

@class NSString;

Expand Down

0 comments on commit 91f13be

Please sign in to comment.