[all-commits] [llvm/llvm-project] 47eb5c: [mac/arm] fix clang/test/Driver/darwin-ld-dedup.c
Nico Weber via All-commits
all-commits at lists.llvm.org
Mon Nov 23 10:37:33 PST 2020
Branch: refs/heads/temp-test-main
Home: https://github.com/llvm/llvm-project
Commit: 47eb5ce19ab10bcfe00af04e6a6e39613e2cb3c9
https://github.com/llvm/llvm-project/commit/47eb5ce19ab10bcfe00af04e6a6e39613e2cb3c9
Author: Nico Weber <thakis at chromium.org>
Date: 2020-11-23 (Mon, 23 Nov 2020)
Changed paths:
M clang/test/CMakeLists.txt
A clang/test/Driver/Inputs/empty-x86_64-apple-darwin.yaml
M clang/test/Driver/darwin-ld-dedup.c
M clang/test/lit.cfg.py
M llvm/utils/gn/secondary/clang/test/BUILD.gn
Log Message:
-----------
[mac/arm] fix clang/test/Driver/darwin-ld-dedup.c
The test needs an object file, which it currenty gets with
`-target x86_64-apple-darwin10`. Rather than adding `REQUIRES: X86`, create
the object file via yaml2obj. This way, the test runs and passes even if the
host arch isn't x86 and only the host arch is built.
Part of PR46644.
More information about the All-commits
mailing list