[all-commits] [llvm/llvm-project] 9dbc4b: [LLD] [COFF] Make -export-all-symbols work as inte...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Jul 22 13:41:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9dbc4b09afd4427c2def829f0c8283f732e654a0
      https://github.com/llvm/llvm-project/commit/9dbc4b09afd4427c2def829f0c8283f732e654a0
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-07-22 (Thu, 22 Jul 2021)

  Changed paths:
    M lld/COFF/Driver.cpp
    M lld/test/COFF/export-all.s

  Log Message:
  -----------
  [LLD] [COFF] Make -export-all-symbols work as intended for EXEs

If some symbols are marked with dllexport, we still want to export
all symbols if -export-all-symbols is specified. Previously, this
only worked as it should for DLL output, not for EXE.

This should fix downstream bug
https://github.com/msys2/MINGW-packages/issues/9163.

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




More information about the All-commits mailing list