[LLVMdev] llvm-ld -disable-opt behavior.

Devang Patel devang.patel at gmail.com
Wed Jul 15 10:37:13 PDT 2009


On Wed, Jul 15, 2009 at 9:32 AM, sanjiv gupta<sanjiv.gupta at microchip.com> wrote:
> Consider the example command line below
>
> $ llvm-ld -disable-opt hello.bc -l std -o hello.out
>
> Why does -disable-opt links in all the bitcode from the libstd.so into
> hello.out?

... because it just disables optimization passed. It does not disable linking.
 ?
-
Devang



More information about the llvm-dev mailing list