Yuri
2010-Jun-24 06:51 UTC
[LLVMdev] Why the same MachineBasicBlock converted to binary code twice?
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
Yuri
2010-Jun-24 10:05 UTC
[LLVMdev] Why the same MachineBasicBlock converted to binary code twice?
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
Possibly Parallel Threads
- [LLVMdev] MachO and ELF Writers/MachineCodeEmittersarehard-codedinto LLVMTargetMachine
- [LLVMdev] MachO and ELF Writers/MachineCodeEmittersarehard-codedinto LLVMTargetMachine
- [LLVMdev] how to get MachineBasicBlock of a BasicBlock
- [LLVMdev] how to get MachineBasicBlock of a BasicBlock
- [LLVMdev] how to get MachineBasicBlock of a BasicBlock