Problems of manipulating GEP for struct type

Hi,

I use JIT to execute the following LLVM IR,

Hi Chia Lun,

Hi,

I use JIT to execute the following LLVM IR,

------------------------------------------------------------------------------------------------------------
define internal fastcc i32 @L_00008120_(%struct.ThreadContext* %ThreadCtx) {

does the caller also specify the fastcc calling convention when calling this?

Ciao, Duncan.

Hi, Ciao, Duncan

  I think you have solved my problems, I set fastCC in LLVM function. so it
crashes.

after reset it to default calling convention, it works.

Thanks a million for your insightful investigation.

Chia Lun