[llvm] [MC] Replace fragment ilist with singly-linked lists (PR #95077)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 10 23:28:21 PDT 2024
================
@@ -831,6 +831,20 @@ void MCAssembler::layout(MCAsmLayout &Layout) {
MCSection *Sec = Layout.getSectionOrder()[i];
Sec->setLayoutOrder(i);
+ // Chain together fragments from all subsections.
----------------
aengelke wrote:
Maybe `if (Sec->Subsections.size() > 1)`? But shouldn't matter much, so feel free to disregard.
https://github.com/llvm/llvm-project/pull/95077
More information about the llvm-commits
mailing list