aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJakub Chlanda <jakub@codeplay.com>2025-07-30 12:01:23 +0200
committerGitHub <noreply@github.com>2025-07-30 12:01:23 +0200
commitdba558b474199142b8b2c88e9e4110ab1b8cf8e3 (patch)
treeab3ddd6a5603cd1fb787f4575d97e8ccac4bcc06 /clang/lib/CodeGen/CodeGenModule.cpp
parent497d17737518d417f6411d46aef1334f642ccd81 (diff)
downloadllvm-dba558b474199142b8b2c88e9e4110ab1b8cf8e3.zip
llvm-dba558b474199142b8b2c88e9e4110ab1b8cf8e3.tar.gz
llvm-dba558b474199142b8b2c88e9e4110ab1b8cf8e3.tar.bz2
[Clang][Driver] Installation detectors in user facing include dir (#151114)
This patch moves `LazyDetector` and target specific (Cuda, Hip, SYCL) installation detectors to clang's include directory. It was problematic for downstream to use headers from clang's lib dir. The use of lib headers could lead to subtle errors, as some of the symbols there are annotated with `LLVM_LIBRARY_VISIBILITY`. For instance [`ROCMToolChain::getCommonDeviceLibNames`](https://github.com/jchlanda/llvm-project/blob/jakub/installation_detectors/clang/lib/Driver/ToolChains/AMDGPU.h#L147) is c++ public, but because of the annotation it ends up as ELF hidden symbol, which causes errors when accessed from another shared library.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions