[LLVMdev] Preserving BBs of bitcode to target binary
aixer77 at gmail.com
Fri Jul 9 14:03:40 PDT 2010
I wonder whether I can preserve basic blocks of llvm-bc when it is compiled to the target(x86) binary.
#llc --march=x86 test1.bc -o test1.s
#llvm-gcc -O0 -o test1 test1.s
then, can BBs from output binary of 'test1' find their correspondents from 'test1.bc' and vice versa?
What I eventually want to find out is 1-1 mapping of BBs between llvm-bc and generated target binary.
If anyone can tell me how can I do this it will be very grateful.
Thanks for your help, in advance
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev