Displaying 2 results from an estimated 2 matches for "isalloc".
Did you mean:
ismalloc
2018 Jan 27
0
[lld] Garbage collection of linked sections with the SHF_LINK_ORDER flag
...parent
section is removed.
To fix this issue, I propose changing the code marking sections live to
the following loop:
for (InputSectionBase *Sec : InputSections) {
if (Sec->Flags & SHF_LINK_ORDER)
Sec->Live = Sec->getLinkOrderDep()->Live;
else {
bool IsAlloc = (Sec->Flags & SHF_ALLOC);
bool IsRel = (Sec->Type == SHT_REL || Sec->Type == SHT_RELA);
if (!IsAlloc && !IsRel)
Sec->Live = true;
}
}
If an input section has the SHF_LINK_ORDER flag set, it propagates the
liveness
of this section to the pa...
2018 Jan 29
0
[lld] Garbage collection of linked sections with the SHF_LINK_ORDER flag
...t;To fix this issue, I propose changing the code marking sections live to
>the following loop:
>
>for (InputSectionBase *Sec : InputSections) {
> if (Sec->Flags & SHF_LINK_ORDER)
> Sec->Live = Sec->getLinkOrderDep()->Live;
> else {
> bool IsAlloc = (Sec->Flags & SHF_ALLOC);
> bool IsRel = (Sec->Type == SHT_REL || Sec->Type == SHT_RELA);
> if (!IsAlloc && !IsRel)
> Sec->Live = true;
> }
>}
>
>If an input section has the SHF_LINK_ORDER flag set, it propagates the
>liv...