We don't need to take a slice of SectionCommands in addOrphanSections()
because it is not modified until the end of the function.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Differential D59239
ELF: Simplify. NFCI. ClosedPublic Authored by pcc on Mar 11 2019, 7:19 PM.
Details Summary We don't need to take a slice of SectionCommands in addOrphanSections()
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 12 2019, 1:59 AM Closed by commit rL355954: ELF: Simplify. NFCI. (authored by pcc). · Explain WhyMar 12 2019, 12:18 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 190309 lld/trunk/ELF/LinkerScript.cpp
|