mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-02 18:58:15 +00:00
[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
This commit is contained in:
parent
e2817933fd
commit
04fc67bf08
@ -49,6 +49,9 @@ AutoExporter::AutoExporter(
|
||||
"libclang_rt.profile-x86_64",
|
||||
"libc++",
|
||||
"libc++abi",
|
||||
"libFortran_main",
|
||||
"libFortranRuntime",
|
||||
"libFortranDecimal",
|
||||
"libunwind",
|
||||
"libmsvcrt",
|
||||
"libucrtbase",
|
||||
|
Loading…
Reference in New Issue
Block a user