I noticed that we had this case in our internal testsuite but couldn't find it in LLD's tests.
This adds that case.
Differential D110716
[LLD] [TEST] Add test case for patching an absolute relocation to a weak undef bd1976llvm on Sep 29 2021, 7:13 AM. Authored by
Details I noticed that we had this case in our internal testsuite but couldn't find it in LLD's tests. This adds that case.
Diff Detail
Event TimelineComment Actions Sorry for the slow response. I was out of town for one week. It'd be better reorganize the tests further as their filenames are quite confusing now. Comment Actions Thanks. I made one minor change after your review as I realised that I didn't need to check the value of the relocation offset in lld/test/ELF/weak-undef.s.
Agreed. It might help readers to amalgamate all of these weak undef cases into a single test file. |