[LLVMdev] strict aliasing and LLVM

Chris Lattner clattner at apple.com
Fri Oct 29 18:06:50 PDT 2010


On Oct 29, 2010, at 4:08 PM, Xinliang David Li wrote:

> 
> 
> On Fri, Oct 29, 2010 at 3:54 PM, Chris Lattner <clattner at apple.com> wrote:
> On Oct 29, 2010, at 11:35 AM, Xinliang David Li wrote:
>> Thanks for the -m tip to pass llvm options.  Why is it not documented anywhere. See http://clang.llvm.org/docs/UsersManual.html#commandline
> 
> -mllvm flags are somewhat equivalent to gcc -param options.  -mllvm flags are for compiler hackers to play with, and are not stable or documented.  Once TBAA is stable and reliable it will be controlled with -fstrict-aliasing as you'd expect.
> 
> 
> -mllvm is also useful for passing options like -print-after=xxx.  May be it should be mentioned when invoking 'clang --help-hidden'.

But that's another example of something for compiler hackers, which isn't stable or documented :-)

-Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101029/174f631f/attachment.html>


More information about the llvm-dev mailing list