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 committed May 6, 2019
1 parent 6971a16 commit 9dd6537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/test/CodeGenObjC/illegal-UTF8.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %clang %s -S -m64 -o -
// RUN: %clang %s -S -o -

@class NSString;

0 comments on commit 9dd6537

Please sign in to comment.