I’ve attached an updated patch which passes check-clang.

The old patch neglected to specify a warning group. Please ignore it.

vedant

Attachment: mcmodel-kernel-darwin.patch
Description: Binary data


On Jul 24, 2015, at 3:58 PM, Vedant Kumar <v...@apple.com> wrote:

> The 'kernel' mcmodel is not fully supported on Darwin (PR 19131741).
> 
> This patch causes the driver to spit out a warning when users pass 
> -mcmodel=kernel in.
> 
> I was asked to add this warning because the alternatives are (1) crashing 
> mysteriously in SelectionDAG, or (2) erroring out in the driver.
> 
> Since I don't have commit rights yet, I'd appreciate someone looking over 
> this patch and guiding it into trunk.
> 
> thanks!
> vedant
> 
> <mcmodel-kernel-darwin.patch>

_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to