diff options
author | Markus Böck <markus.boeck02@gmail.com> | 2021-05-17 22:12:22 +0200 |
---|---|---|
committer | Markus Böck <markus.boeck02@gmail.com> | 2021-05-17 22:13:26 +0200 |
commit | 65271ffe84165b935cefc9a7d468cb6f46a96a91 (patch) | |
tree | 7664a8a0a1c0a1c454011b82c45289b2b8bee451 /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | |
parent | 02286d96dbb3862a7dc5f7a2481c1f763186b259 (diff) | |
download | llvm-65271ffe84165b935cefc9a7d468cb6f46a96a91.zip llvm-65271ffe84165b935cefc9a7d468cb6f46a96a91.tar.gz llvm-65271ffe84165b935cefc9a7d468cb6f46a96a91.tar.bz2 |
[lld][MinGW] Introduce aliases for -Bdynamic and -Bstatic
Besides -Bdynamic and -Bstatic, ld documents additional aliases for both of these options. Instead of -Bstatic, one may write -dn, -non_shared or -static. Instead of -Bdynamic one may write -dy or -call_shared. Source: https://sourceware.org/binutils/docs-2.36/ld/Options.html
This patch adds those aliases to the MinGW driver of lld for the sake of ld compatibility.
Encountered this case while compiling a static Qt 6.1 distribution and got build failures as -static was passed directly to the linker, instead of through the compiler driver.
Differential Revision: https://reviews.llvm.org/D102637
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
0 files changed, 0 insertions, 0 deletions