[all-commits] [llvm/llvm-project] ab2b17: [flang] Link to libatomic with openmp and rtlib=li...
David Truby via All-commits
all-commits at lists.llvm.org
Wed Oct 16 06:49:21 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ab2b17512cda90305d5bea77b8e8fa119ab78f25
https://github.com/llvm/llvm-project/commit/ab2b17512cda90305d5bea77b8e8fa119ab78f25
Author: David Truby <david.truby at arm.com>
Date: 2024-10-16 (Wed, 16 Oct 2024)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
A flang/test/Driver/atomic.f90
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list