search for: exprstate

Displaying 2 results from an estimated 2 matches for "exprstate".

Did you mean: exp_cstate
2014 Sep 11
2
[LLVMdev] Fail to load a pointer to a function inside MCJIT-ed code when it is reload from ObjectCache
...e, brand new llvm::Module and llvm::ExecutionEngine are created. IrExprGetValue is saved in file as IR format and will be loaded into module every run. JittedOpExpr and other LLVM function are created and associated with the new Module. ; Function Attrs: uwtable define i64 @IrExprGetValue1(%struct.ExprState* %expr, %struct.ExprContext* %econtext, i8* %isNull, i32* %isDone) #0 { entry: %expr.addr = alloca %struct.ExprState*, align 8 %econtext.addr = alloca %struct.ExprContext*, align 8 %isNull.addr = alloca i8*, align 8 %isDone.addr = alloca i32*, align 8 store %struct.ExprState* %expr, %stru...
2014 Sep 11
2
[LLVMdev] Fail to load a pointer to a function inside MCJIT-ed code when it is reload from ObjectCache
...7fe4cc6c2028: callq *(%rax) 0x00007fe4cc6c202a: add $0x5,%rax 0x00007fe4cc6c202e: pop %rbp 0x00007fe4cc6c202f: retq 0x00007fe4cc6c2030: adc $0x0,%al 0x00007fe4cc6c2032: add %al,(%rax) 0x00007fe4cc6c2034: add %al,(%rax) *0x7fe4801fa1f8 -> 0x69382E* * ExecEvalVar*(ExprState*, ExprContext*, bool*, ExprDoneCond*): 0x000000000069382e: push %rbp 0x000000000069382f: mov %rsp,%rbp 0x0000000000693832: push %r12 In the next run, I buildedunction of JittedOpExpr again and loaded compiled object from that saved binary file using getObject and went through getPointertoFun...