diff options
author | Joseph Huber <huberjn@outlook.com> | 2025-02-05 08:18:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-05 08:18:16 -0600 |
commit | 455cedc805e7a42c6cfbe26a4ddd9e623cca6066 (patch) | |
tree | 561be53fe0206a774aa6bb8397f32c9753f584af /clang/lib/Analysis/ProgramPoint.cpp | |
parent | cd754af55f5b7f6f5371852843bc3613866232c2 (diff) | |
download | llvm-455cedc805e7a42c6cfbe26a4ddd9e623cca6066.zip llvm-455cedc805e7a42c6cfbe26a4ddd9e623cca6066.tar.gz llvm-455cedc805e7a42c6cfbe26a4ddd9e623cca6066.tar.bz2 |
[Clang] Make `-Xarch_` handling generic for all toolchains (#125421)
Summary:
Currently, `-Xarch_` is handled specially between different toolchains,
(i.e. Mach-O).
This patch unifies the handling so that it can be used generically.
The main benefit here is that we now have a more generic version of
`-Xopenmp-target=`, which should probably just be deprecated.
Additionally, it allows us to specially pass arguments to different
architectures for offloading.
This patch is done in preparation for making selecting offloading
toolchains more generic, this will be helpful while people are moving
toward compile jobs that include multiple toolchains (SPIR-V, AMDGCN,
NVPTX).
Diffstat (limited to 'clang/lib/Analysis/ProgramPoint.cpp')
0 files changed, 0 insertions, 0 deletions