Hi, all. I want to get the single bitcode file after link-time optimizations. After doing some searching, I get commands as follows:<br><br><i>llvm-gcc -O4 -c xxx.c -o xxx.o<br>llvm-gcc xxx.o -use-gold-plugin -Wl,-debug -Wl,-plugin-opt=also-emit-llvm -lm -o xxx</i><br>
<br>But these command don't give me the wanted bitcode file. The used version of llvm is 2.7.<br><br>Do you have any idea of this problem or any other solution to get the bitcode file with gold plugin? Thanks.<br><br>
Xiaoming<br>