[llvm-commits] PATCH: New option for bitcode output file in llvm-ld

Nick Lewycky nicholas at mxc.ca
Wed Jul 15 22:21:57 PDT 2009


sanjiv gupta wrote:
> The patch adds an option -b < filename > to specify the name of the
> bitcode output file. If -b isn't specified then llvm-ld falls back to
> its existing behavior.
> 
> Let me know if its good to go.

Your description of the option made me say "what?" several times. Please 
try to clarify it.

This patch doesn't change the behaviour when llvm-ld emits a shell 
script. I would've expected it (based on the name and description) to 
change the name of the .bc file that the shell script runs.

It's still not clear to me what problem this is solving for you. Why not 
just use "-link-as-library -o"?

Nick



More information about the llvm-commits mailing list