This will be useful for linker script symbol processing, because symbols inside OutputSection, MergeOutputSection and EhOutputSection should be process in different ways.
Details
Details
Diff Detail
Diff Detail
Event Timeline
| ELF/OutputSections.h | ||
|---|---|---|
| 52 | Out<ELFT>::ProgramHeaders are of type OutputSectionBase<ELFT>, so I can't make getKind() pure virtual in this class. | |
I don't think we need Base because all OutputSectionBases are of Base class. You'll never need to do cast<OutputSectionBase<ELFT>>(P).