[llvm-commits] emit-llvm

Rafael Espindola espindola at google.com
Thu Jun 3 12:37:18 PDT 2010


> that doesn't make much sense to me.  If someone asks for the output to be called
> foo (-o foo) then surely the output should be called foo.

Yes, that is what I would normally do. The issue is that a user
changing from also-emit-llvm to emit-llvm or from llvm-ld to gold
would have to change the output file name. Not a bit problem, just a
small annoyance.

>  Also, it's not clear
> to me why you would want the functionality -plugin-opt=emit-llvm=bar.bc

Just because of the above. In the end I think you are right, and it is
better to just use the "-o" value  if given emit-llvm. I will update
the patch.

> Ciao,
>
> Duncan.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>

Thanks,
-- 
Rafael Ávila de Espíndola




More information about the llvm-commits mailing list