[all-commits] [llvm/llvm-project] 0dd98e: Revert "[lld][flang] Add exceptions for Flang runt...

Markus Mützel via All-commits all-commits at lists.llvm.org
Thu Mar 9 03:19:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0dd98e1251a316769f121f9978cbba191b368df4
      https://github.com/llvm/llvm-project/commit/0dd98e1251a316769f121f9978cbba191b368df4
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

  Changed paths:
    M lld/COFF/MinGW.cpp

  Log Message:
  -----------
  Revert "[lld][flang] Add exceptions for Flang runtime libraries on MinGW."

This reverts commit 04fc67bf08daef5031f78c4a52a069ff29cff099.

The patch was applied with the wrong git author name (forgot to
amend in the right user name after applying the patch); I'll
reapply it with the right author name.


  Commit: 0ea8229bf87857e70a38b31b18f6e7c6cd993b9b
      https://github.com/llvm/llvm-project/commit/0ea8229bf87857e70a38b31b18f6e7c6cd993b9b
  Author: Markus Mützel <markus.muetzel at gmx.de>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

  Changed paths:
    M lld/COFF/MinGW.cpp

  Log Message:
  -----------
  Reapply [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.

Reapplying the patch with the git author name corrected.

Reviewed By: mstorsjo

Differential Revision: https://reviews.llvm.org/D145389


Compare: https://github.com/llvm/llvm-project/compare/da92c120ca6e...0ea8229bf878


More information about the All-commits mailing list