partaror

Results issues of partaror

Unlike GNU LD, LLD does not report forward reference error. This can result in unexpected output image layout. Reproducible example: ```bash #!/usr/bin/env bash cat >1.c

question
lld

LLD is not garbage collecting an unused symbol that is referenced by an unused provide symbol. Reproducible example: ```bash #!/usr/bin/env bash cat >1.c

lld:ELF

LLD incorrectly reports 'there is a cycle in linker script INCLUDEs' error when a linker script is included multiple times (but there is no cycle). Reproducible example: ```bash #!/usr/bin/env bash...

lld:ELF

`EXCLUDE_FILE` linker script directive is not excluding files in linker script rule-matching. Reproducible example: ```bash #!/usr/bin/env bash cat >1.c

lld:ELF

`PROVIDE` linker script directive provide symbols that are referenced by the link but are not defined anywhere. But what should be the `PROVIDE` behavior for symbols that are only referenced...

question
lld:ELF

LLD does not support unary '+' operator in linker scripts. We should perhaps support this for compatibility with GNU linker. Reproducible example: ```bash #!/usr/bin/env bash cat >1.c val = +0x1;...

lld:ELF

`add_llvm_library` is used ubiquitously throughout the LLVM codebase. `add_llvm_library` always adds symbol versioning information (`@LLVM_20.0 `) when it is used to create a shared library with `LLVM_EXPORTED_SYMBOL_FILE` argument. This works...

cmake