Sets section alignments of the specified architecture slices to the alignment values.
Alignment values are hexadecimal values that are powers of 2.
Test Plan: check-llvm
Paths
| Differential D65420
[llvm-lipo] Implement -segalign ClosedPublic Authored by anushabasana on Jul 29 2019, 2:20 PM.
Details Summary Sets section alignments of the specified architecture slices to the alignment values. Test Plan: check-llvm
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Jul 30 2019, 2:38 PM Closed by commit rL367908: [llvm-lipo] Implement -segalign (authored by anushabasana). · Explain WhyAug 5 2019, 12:07 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 212404 llvm/test/tools/llvm-lipo/segalign-invalid-input.test
llvm/test/tools/llvm-lipo/segalign.test
llvm/tools/llvm-lipo/LipoOpts.td
llvm/tools/llvm-lipo/llvm-lipo.cpp
|
I'd add a run of llvm-lipo with exactly the same input but without -segalign to make it easier to see the difference.
Also I'd add a comment regarding the format of -segalign (in particular, it expects a hex)