Previously, we mark non-alloc sections except debug info sections,
mark alloc sections, and optionally mark debug sections. This patch
simplifies the step by marking alloc sections first.
This patch also updates comments.
Differential D60509
Mark non-alloc sections after marking alloc sections Needs ReviewPublic Authored by ruiu on Apr 10 2019, 5:36 AM.
Details
Summary Previously, we mark non-alloc sections except debug info sections, This patch also updates comments.
Diff Detail
Event Timelineruiu retitled this revision from Mark non-alloc sections after marking alloc sections.
Previously, we mark non-alloc sections except debug info sections,
mark alloc sections, and optionally mark debug sections. This patch
simplifies the step by marking alloc sections first. to Mark non-alloc sections after marking alloc sections.Apr 10 2019, 5:37 AM
Revision Contents
Diff 194498 lld/ELF/InputFiles.h
lld/ELF/MarkLive.cpp
|
This comment seems to get the meaning of the boolean the wrong way around? It's safe to discard debuginfo when this is *false*.