[llvm-branch-commits] [NFCI] Avoid adding duplicated SpecialCaseList::Sections. (PR #140821)

Qinkun Bao via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue May 20 16:53:07 PDT 2025


https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/140821

https://github.com/llvm/llvm-project/pull/140127 converts SpecialCaseList::Sections
from StringMap to vector. However, the previous StringMap ensures that only a new
section is created when the SectionStr is different. We should keep the same behavior.





More information about the llvm-branch-commits mailing list