[Patch] Driver: Warn on -mcmode=kernel on Darwin
Vedant Kumar
vsk at apple.com
Fri Jul 24 15:58:52 PDT 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcmodel-kernel-darwin.patch
Type: application/octet-stream
Size: 1275 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150724/31ca998c/attachment.obj>
More information about the cfe-commits
mailing list