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

Yuri yuri at rawbw.com
Thu Jun 24 03:05:12 PDT 2010


On 06/23/2010 23:51, Yuri wrote:
> 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?
>    


Never mind: this is due to memory buffer overrun and retry after 
MCE.finishFunction returns true.

Yuri



More information about the llvm-dev mailing list