[LLVMdev] Why the same MachineBasicBlock converted to binary code twice?

Yuri yuri at rawbw.com
Wed Jun 23 23:51:57 PDT 2010


While debugging something, I found this strange-looking situation in JIT 
on 32-bit platform.

For the particular BasicBlock function StartMachineBasicBlock is called 
twice with the same MachineBasicBlock object.
This generates two memory addresses for binary code for this BasicBlock.

Why such situation can happen? Which memory address would be the "real" 
address of this BasicBlock?

Yuri



More information about the llvm-dev mailing list