aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDavid Truby <david.truby@arm.com>2024-10-16 14:48:59 +0100
committerGitHub <noreply@github.com>2024-10-16 14:48:59 +0100
commitab2b17512cda90305d5bea77b8e8fa119ab78f25 (patch)
tree7bff3654631dee3c59b53ce10d33f730599ba76e /clang/lib/CodeGen/CodeGenModule.cpp
parent621fcf892bcd3c2d81e25c6ee39ca32db3c6b05a (diff)
downloadllvm-ab2b17512cda90305d5bea77b8e8fa119ab78f25.zip
llvm-ab2b17512cda90305d5bea77b8e8fa119ab78f25.tar.gz
llvm-ab2b17512cda90305d5bea77b8e8fa119ab78f25.tar.bz2
[flang] Link to libatomic with openmp and rtlib=libgcc (#112202)
Currently when using OpenMP atomics we depend on some symbols from libatomic. These symbols are provided in a separate library for the libgcc runtime, so we should link to that when rtlib=libgcc. For the compiler-rt case, the presence and location of the symbols is dependent on how compiler-rt itself was built so we cannot make that decision for the user. As such no extra flags are added in that case.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions