On Mar 3, 2015, at 1:28 AM, Chandler Carruth <[email protected]> wrote:
> > This isn't really the right way to test the driver. > > We usually test changes to the driver by adding a test under 'test/Driver' > and using '-###' in conjunction with FileCheck to assert on the commandline > formed by the driver. > > Among other things, by using the driver here rather than the cc1 layer you > have the following problems: > > - you have to carefully manage the -fobc-arc flags as you've already had to > tweak in subsequent commits > - on non-x86 platforms the driver may end up producing very flawed cc1 > invocations in conjunction with the hard-coded cc1 flags of '-Xclang -triple > -Xclang x86_64-apple-darwin11' > > At least for non-x86 platforms, this is actually a breaking change and we > need to revert it to get builds green again. New test in r231080. - Fariborz
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
