lds-gen.py appends rd_ut_coverage_check for linker script unconditionally. However, LLD produces a warning if coverage is disabled. This warning becomes an error since LLVM LLD 17.0.0.
ld: error: version script assignment of 'global' to symbol 'rd_ut_coverage_check' failed: symbol not defined
Description
lds-gen.py
appendsrd_ut_coverage_check
for linker script unconditionally. However, LLD produces a warning if coverage is disabled. This warning becomes an error since LLVM LLD 17.0.0.How to reproduce
Checklist
Please provide the following information:
2.3.0