This is an archive of the discontinued LLVM Phabricator instance.

[NFC][AIX][XCOFF] if the size of Csect is zero, the Csect do not need write any data into sections
ClosedPublic

Authored by DiggerLin on Dec 6 2019, 7:49 AM.

Details

Summary

if the size of Csect is zero, the Csect do not need write any data into sections
for example, the TOC Csect has zero size, it do not need invoke a
Asm.writeSectionData(W.OS, Csect.MCCsect, Layout);

Diff Detail

Event Timeline

DiggerLin created this revision.Dec 6 2019, 7:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 6 2019, 7:49 AM
daltenty accepted this revision.Dec 6 2019, 9:16 AM

LGTM

This revision is now accepted and ready to land.Dec 6 2019, 9:16 AM
This revision was automatically updated to reflect the committed changes.