[cfe-commits] [PATCH]: -mrtd implementation

Roman Divacky rdivacky at freebsd.org
Tue Mar 1 09:22:09 PST 2011


On Tue, Feb 22, 2011 at 10:42:16AM -0800, Douglas Gregor wrote:
> 
> On Feb 22, 2011, at 10:34 AM, Roman Divacky wrote:
> 
> > hi,
> > 
> > the attached patch implements -mrtd implementation. Ie. changing
> > the default calling convention to stdcall.
> > 
> > Comments?
> 
> +def mrtd: Flag<"-mrtd">,
> +  HelpText<"RTD call conv">;
> 
> This help text could be more helpful. What's RTD?
 
I changed it to "Make StdCall calling convention the default"

> Also, there are no tests?

test included now


is the updated patch (attached) ok to commit? I'd love to get this
in before 2.9 branches as it is very important for FreeBSD bootloader

thank you! roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-mrtd.patch
Type: text/x-diff
Size: 6321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110301/b28cfb53/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110301/b28cfb53/attachment.sig>


More information about the cfe-commits mailing list