This requirement was added in r254578 to fix pr25686. However, it
appears to have originated from a misdiagnosis of the problem: link.exe
refused to merge the two sections because they are non-executable,
not because they have internal leaders. If I set up a similar scenario
with functions instead of globals I see that link.exe merges them.
Details
Details
- Reviewers
ruiu rnk - Commits
- rGd01571353dfa: COFF: Stop requiring comdat sections to have an external leader to participate…
rLLD318682: COFF: Stop requiring comdat sections to have an external leader to participate…
rL318682: COFF: Stop requiring comdat sections to have an external leader to participate…
Diff Detail
Diff Detail
- Repository
- rL LLVM