llvm-project/lld/test
Vincent Lee 58edaef3fe [lld-macho] Do not error out on dead stripped duplicate symbols
Builds that error out on duplicate symbols can still succeed if the symbols
will be dead stripped. Currently, this is the current behavior in ld64.
https://github.com/apple-oss-distributions/ld64/blob/main/src/ld/Resolver.cpp#L2018.
In order to provide an easier to path for adoption, introduce a new flag that will
retain compatibility with ld64's behavior (similar to `--deduplicate-literals`). This is
turned off by default since we do not encourage this behavior in the linker.

Reviewed By: #lld-macho, thakis, int3

Differential Revision: https://reviews.llvm.org/D134794
2022-09-30 15:09:27 -07:00
..
COFF [LLD][COFF] Generate map file even if no /out flag is present 2022-09-26 09:05:23 -07:00
ELF [ELF] Reset verdefIndex for Defined preempting SharedSymbol 2022-09-29 21:26:53 -07:00
MachO [lld-macho] Do not error out on dead stripped duplicate symbols 2022-09-30 15:09:27 -07:00
MinGW [LLD][MinGW] Add --[no-]guard-cf and --[no-]guard-longjmp 2022-09-09 09:55:40 +03:00
wasm [lld][WebAssemby] Allow import module names to be empty strings. 2022-08-31 15:30:15 -07:00
CMakeLists.txt [ELF] Support ELFCOMPRESS_ZSTD input 2022-09-09 10:25:37 -07:00
lit.cfg.py [LLD][ELF] Add FORCE_LLD_DIAGNOSTICS_CRASH to force LLD to crash 2022-07-05 09:43:09 +01:00
lit.site.cfg.py.in [ELF] Support ELFCOMPRESS_ZSTD input 2022-09-09 10:25:37 -07:00