aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2024-09-20 09:29:59 -0700
committerGitHub <noreply@github.com>2024-09-20 09:29:59 -0700
commit12e8e0b10c3f52098cc41322c12eb7f3bfd75b06 (patch)
tree82ce3004bbf56aae6e2dfd929b3e0fe5d9a20f17 /clang/lib/Frontend/CompilerInvocation.cpp
parent8db97ae36c586f8e0321b7bc784cda4d8c5bac26 (diff)
downloadllvm-12e8e0b10c3f52098cc41322c12eb7f3bfd75b06.zip
llvm-12e8e0b10c3f52098cc41322c12eb7f3bfd75b06.tar.gz
llvm-12e8e0b10c3f52098cc41322c12eb7f3bfd75b06.tar.bz2
[AMDGPU] Correctly use the auxiliary toolchain to include libc++ (#109366)
Summary: Now that we have a functional build for `libc++` on the GPU, it will now find the target specific headers in `include/amdgcn-amd-amdhsa`. This is a problem for offloading via OpenMP because we need the CPU and GPU headers to match exactly. All the other toolchains forward this correctly except the AMDGPU OpenMP one, fix this by overriding it to use the host toolchain instead of the device one, so the triple is not returned as `amdgcn-amd-amdhsa`.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions