This patch implements -ffunction-sections on AIX.
This patch focuses on assembly generation.
Follow-on patch needs to handle:
- -ffunction-sections implication for jump table.
- Object file generation path and associated testing.
Paths
| Differential D83875
[XCOFF][AIX] Enable -ffunction-sections ClosedPublic Authored by jasonliu on Jul 15 2020, 7:40 AM.
Details Summary This patch implements -ffunction-sections on AIX.
Diff Detail Event Timelinehubert.reinterpretcast retitled this revision from [XCOFF][AIX] Enable -function-sections to [XCOFF][AIX] Enable -ffunction-sections.Jul 15 2020, 7:48 AM jasonliu added inline comments.
Comment Actions LGTM
This revision is now accepted and ready to land.Jul 27 2020, 8:14 AM
jasonliu added inline comments.
jasonliu added inline comments.
Closed by commit rG04dc9691ebef: [XCOFF][AIX] Enable -ffunction-sections (authored by jasonliu). · Explain WhyJul 30 2020, 6:30 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 278185 llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/test/CodeGen/PowerPC/aix-xcoff-funcsect.ll
|
Should we also handle this in this patch?