This is change is needed for LTO since anything passed via backend-option does not make it to the backend.
The corresponding llvm patch is here: http://reviews.llvm.org/D11470
Paths
| Differential D11472
[ARM] Pass subtarget feature "+strict-align" instead of backend option "arm-strict-align" ClosedPublic Authored by ahatanak on Jul 23 2015, 12:58 PM.
Details
Summary This is change is needed for LTO since anything passed via backend-option does not make it to the backend. The corresponding llvm patch is here: http://reviews.llvm.org/D11470
Diff Detail Event Timeline
Comment Actions
I think you may want to do it in this patch: you're generalizing something ARM does, but only using the new generalism in ARM. Having 2 targets use it would make this better IMO :-) jfb edited edge metadata. Comment ActionsThis lgtm, considering the comments on D11470. Please do follow-up with equivalent aarch64 changes! This revision is now accepted and ready to land.Jul 24 2015, 5:15 PM
Revision Contents
Diff 30553 lib/Driver/Tools.cpp
test/Driver/apple-kext-mkernel.c
test/Driver/arm-alignment.c |
aarch64 also has its own option? Should your patch (or a follow-up) fix both?