diff options
author | Fangrui Song <i@maskray.me> | 2023-12-05 08:27:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 08:27:55 -0800 |
commit | 4e0275a2c8f7f94cc1aacf4803fc827fad8f56d4 (patch) | |
tree | 719b83dee69f3c9c9dbeff0e42eb1ed81deff002 /llvm/utils/UpdateTestChecks/common.py | |
parent | 323451ab88866c42c87971cbc670771bd0d48692 (diff) | |
download | llvm-4e0275a2c8f7f94cc1aacf4803fc827fad8f56d4.zip llvm-4e0275a2c8f7f94cc1aacf4803fc827fad8f56d4.tar.gz llvm-4e0275a2c8f7f94cc1aacf4803fc827fad8f56d4.tar.bz2 |
[Driver] Mark -arch as TargetSpecific (#74365)
`-arch` is a Darwin-specific option that is ignored for other targets
and not known by GCC.
```
% clang -arch arm64 -c a.c
clang: warning: argument unused during compilation: '-arch arm64' [-Wunused-command-line-argument]
```
We are utilizing TargetSpecific (from https://reviews.llvm.org/D151590)
to make more options lead to errors for unsupported targets.
Diffstat (limited to 'llvm/utils/UpdateTestChecks/common.py')
0 files changed, 0 insertions, 0 deletions