[all-commits] [llvm/llvm-project] 04fc67: [lld][flang] Add exceptions for Flang runtime libr...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Thu Mar 9 03:17:05 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 04fc67bf08daef5031f78c4a52a069ff29cff099
https://github.com/llvm/llvm-project/commit/04fc67bf08daef5031f78c4a52a069ff29cff099
Author: Martin Storsjö <martin at martin.st>
Date: 2023-03-09 (Thu, 09 Mar 2023)
Changed paths:
M lld/COFF/MinGW.cpp
Log Message:
-----------
[lld][flang] Add exceptions for Flang runtime libraries on MinGW.
When linking a shared library with Flang on MinGW, the functions from the
Flang runtime are exported from the shared library. When trying to link an
executable to that library using Flang, the linker errors out because the
functions from the runtime conflict with the functions exported from the
shared library.
Add the Flang runtime libraries to the list of libraries for which no
symbols are exported.
Reviewed By: mstorsjo
Differential Revision: https://reviews.llvm.org/D145389
More information about the All-commits
mailing list