Move the "Live" and "Discarded" bools from SectionChunk to Chunk. This
will allow us to add a new kind of chunk for control flow guard that
participates in comdat resolution and dead stripping. It is very similar
to .sxdata and SEHTableChunk, but object files may have more than one
such section.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 7469 Build 7469: arc lint + arc unit
Event Timeline
Comment Actions
After hacking a bit more on this, I decided not to do this. I think we'll treat these .gfids chunks as SectionChunks that are not held in ObjectFile::Chunks, the same way we treat DebugChunks. They will be regular SectionChunks that participate in section GC, but they will not be emitted into the output, just like .debug$S chunks. We'll iterate them later, check which ones are live, and create a single chunk for the whole table.