Progress:
[TCWG-940] LLD test failures on libcxx and libcxxabi I think this is a latent bug in libunwind's .ARM.exidx table entry search that happens to be exposed by lld. Will try and make a reproducer using ld.bfd and report upstream if I'm correct.
[TCWG-901] Investigate LLD as a system linker on ARM - Found 6 test failures in libcxxabi and 41 test failures in libcxx tests. I think these are likely to be all related to TCWG-940 - I cannot build working llvm tools from clean using LLD as the linker. Everything links but the resulting binaries are unstable, llvm-tablegen is the first to fall over, giving incorrect results. Other tools segfault when run on certain inputs.
Much rebasing of downstream patches to account for refactoring. Refactoring will soon be at a point that I can start rewriting the downstream patches.
Wrote a python script that can glue together the output of llvm-objdump, llvm-readobj to give me a better view of the plt, got and exception tables.
Plans for next week: - Close out TCWG-940, find out what is wrong that is preventing lld from linking the llvm-tools. - Rewrite some of my downstream patches using the refactored framework.
linaro-toolchain@lists.linaro.org