With this the meaning of the Live bit in output sections is clear: we have at some point added a input section into it.
A followup patch could probably replace it by making the Flags field Optional.
Paths
| Differential D43891
Simplify removing empty output sections ClosedPublic Authored by • espindola on Feb 28 2018, 12:39 PM.
Details
Diff Detail Event TimelineComment Actions LGTM
This revision is now accepted and ready to land.Feb 28 2018, 2:30 PM
Revision Contents
Diff 136362 ELF/LinkerScript.cpp
ELF/OutputSections.h
ELF/OutputSections.cpp
ELF/Writer.cpp
|
It feels like this function name is not right because this function does more than checking if all members are section descriptions. Can you rename?