Simplifies the code slightly.
Details
Details
- Reviewers
- thakis 
- Group Reviewers
- Restricted Project 
- Commits
- rG9408b75ec386: [lld-macho][nfc] Hoist out creation of Section in parseSections()
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
|  Differential  D118796  
[lld-macho][nfc] Hoist out creation of Section in parseSections() ClosedPublic Authored by int3 on Feb 2 2022, 7:50 AM. 
Details 
 Summary Simplifies the code slightly. 
Diff Detail 
 Event Timelineint3 added a child revision: D118797: [lld-macho][nfc] Eliminate InputSection::Shared.Feb 2 2022, 7:59 AM This revision is now accepted and ready to land.Feb 2 2022, 10:09 AM Closed by commit rG9408b75ec386: [lld-macho][nfc] Hoist out creation of Section in parseSections() (authored by int3).  ·  Explain WhyFeb 2 2022, 2:09 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 405440 lld/MachO/InputFiles.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||