baldrick at free.fr
Thu Jun 3 12:12:53 PDT 2010
> ld ... -o foo -plugin-opt=emit-llvm produces foo.bc only.
> ld ... -o foo -plugin-opt=emit-llvm=bar.bc produces bar.bc only.
> ld ... -o foo -plugin-opt=also-emit-llvm produces foo.bc and foo.
> ld ... -o foo -plugin-opt=also-emit-llvm=bar.bc produces bar.bc and foo.
> I was not sure if in the emit-llvm case we just append a .bc or not. I decided
> to do so to be consistent with also-emit-llvm and to match what llvm-ld does.
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. Also, it's not clear
to me why you would want the functionality -plugin-opt=emit-llvm=bar.bc
More information about the llvm-commits