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

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

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to