[lld] r246537 - COFF: .exe files should be able to export functions.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 09:09:34 PDT 2015


On Tue, Sep 1, 2015 at 2:15 AM, Rui Ueyama via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: ruiu
> Date: Tue Sep  1 04:15:58 2015
> New Revision: 246537
>
> URL: http://llvm.org/viewvc/llvm-project?rev=246537&view=rev
> Log:
> COFF: .exe files should be able to export functions.
>
> In r246424, I made a change that disables non-DLL to export
> symbols. It turned out that the change was not correct. Both
> DLLs and executables are able to export symbols (although the
> latter is relatively rare). This change restores the feature.
>


Hi Rui,
not sure if it's my fault of yours, but it seems this breaks test
suite on FreeBSD.
Can you please take a look?


FAIL: lld :: COFF/export-exe.test (24 of 826)
******************** TEST 'lld :: COFF/export-exe.test' FAILED
********************
Script:
--
lld-link /entry:main
/out:/exps/llvm2/build/tools/lld/test/COFF/Output/export-exe.test.tmp.exe
/subsystem:windows    /exps/llvm2/tools/lld/test/COFF/Inputs/ret42.obj
/export:main
llvm-objdump -p
/exps/llvm2/build/tools/lld/test/COFF/Output/export-exe.test.tmp.exe |
FileCheck /exps/llvm2/tools/lld/test/COFF/export-exe.test
--
Exit Code: 1

Command Output (stderr):
--
unable to find lib.exe in PATH: : No such file or directory

--
Davide


More information about the llvm-commits mailing list