diff options
| author | Diana Picus <diana.picus@linaro.org> | 2021-12-10 22:02:32 +0000 |
|---|---|---|
| committer | Diana Picus <diana.picus@linaro.org> | 2022-06-20 07:25:10 +0000 |
| commit | 26041e17006cf30e9c2d06706fe6bd3fa818e356 (patch) | |
| tree | cdfbca424274612f00e0ff212ab93748c8ac4141 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
| parent | 7050d5b98c0952b24b61f88653de86443cbabd7c (diff) | |
| download | llvm-26041e17006cf30e9c2d06706fe6bd3fa818e356.zip llvm-26041e17006cf30e9c2d06706fe6bd3fa818e356.tar.gz llvm-26041e17006cf30e9c2d06706fe6bd3fa818e356.tar.bz2 | |
Update link job for flang on windows
When linking a Fortran program, we need to add the runtime libraries to
the command line. This is exactly what we do for Linux/Darwin, but the
MSVC interface is slightly different (e.g. -libpath instead of -L).
We also remove oldnames and libcmt, since they're not needed at the
moment and they bring in more dependencies.
We also pass `/subsystem:console` to the linker so it can figure out the
right entry point. This is only needed for MSVC's `link.exe`. For LLD it
is redundant but doesn't hurt.
Differential Revision: https://reviews.llvm.org/D126291
Co-authored-by: Markus Mützel <markus.muetzel@gmx.de>
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions
