diff options
author | Jonathon Penix <jpenix@quicinc.com> | 2025-07-28 15:41:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-28 15:41:00 -0700 |
commit | ee63c1f3520bca0acb859fcb4da49d3eb667c1ad (patch) | |
tree | 9a4462b2739ae485f6434d59697ad8fe468c2e92 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4c8e79f81582a757ed4333f8ff2ad4da18bab39a (diff) | |
download | llvm-ee63c1f3520bca0acb859fcb4da49d3eb667c1ad.zip llvm-ee63c1f3520bca0acb859fcb4da49d3eb667c1ad.tar.gz llvm-ee63c1f3520bca0acb859fcb4da49d3eb667c1ad.tar.bz2 |
[clang][Driver] Prefer non-Linux emulations for baremetal Arm/AArch64 targets (#149235)
I'm unsure if there is an official source for which targets use/support
which emulations, but for the baremetal GNU Arm/AArch64 toolchains or
binutils builds I've tried to use, GNU ld either did not support the
Linux emulations (resulting in errors unless overriding the emulation)
or the Linux emulations were supported but GCC passed the non-Linux
emulations by default.
These emulations all seem to be accepted by lld as well, so try to align
with what it seems GCC is doing and prefer the non-Linux emulations for
baremetal Arm/AArch64 targets.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions