[PATCH] D47829: [Driver] Accept the -fno-shrink-wrap option for GCC compatibility

2018-06-12 Thread Simon Dardis via Phabricator via cfe-commits
sdardis added a comment. In https://reviews.llvm.org/D47829#1124040, @efriedma wrote: > Is this something which is actually useful to control? From your > description, you want to add the flag to clang not because you actually want > to use it, but just because you can't figure out how to pass

[PATCH] D47829: [Driver] Accept the -fno-shrink-wrap option for GCC compatibility

2018-06-12 Thread Simon Dardis via Phabricator via cfe-commits
sdardis updated this revision to Diff 150904. sdardis added a comment. Modify implementation to produce a function attribute. Repository: rC Clang https://reviews.llvm.org/D47829 Files: include/clang/Driver/Options.td include/clang/Frontend/CodeGenOptions.def lib/CodeGen/CodeGenFunctio

[PATCH] D47829: [Driver] Accept the -fno-shrink-wrap option for GCC compatibility

2018-06-06 Thread Eli Friedman via Phabricator via cfe-commits
efriedma added a comment. Is this something which is actually useful to control? From your description, you want to add the flag to clang not because you actually want to use it, but just because you can't figure out how to pass the right flags to your clang build. If it is useful, it should

[PATCH] D47829: [Driver] Accept the -fno-shrink-wrap option for GCC compatibility

2018-06-06 Thread Simon Dardis via Phabricator via cfe-commits
sdardis created this revision. sdardis added a reviewer: rsmith. Herald added a reviewer: javed.absar. Herald added subscribers: atanasyan, kristof.beyls, arichardson. As reported in GCC bug #86069, LLVM currently provokes a bug in GCC where objects compiled for MIPS with PIC and optimizations whe