Displaying 6 results from an estimated 6 matches for "cfi_instruct".
2017 Jun 05
2
[newbie] trouble with global variables and CreateLoad/Store in JIT
...e bizarre thing is that even
this looks correct: the debugInt is called first with @foo, then @foo+4,
and the stores seem to be going to the right addresses as well: @foo and
@foo+4!
BB#0: derived from LLVM BB %entry
PUSHi32 <ga:@foo>, %ESP<imp-def>, %ESP<imp-use>
CFI_INSTRUCTION <call frame instruction>
CALLpcrel32 <ga:@debugPointer>, <regmask %BH %BL %BP %BPL %BX %DI
%DIL %EBP %EBX %EDI %ESI %SI %SIL>, %ESP<imp-use>, %ESP<imp-def>,
%EAX<imp-def,dead>, %EDX<imp-def,dead>
%ESP<def,tied1> = ADD32ri8 %ESP<t...
2017 Jun 06
2
[newbie] trouble with global variables and CreateLoad/Store in JIT
...debugInt is called first with @foo, then @foo+4,
>> and the stores seem to be going to the right addresses as well: @foo and
>> @foo+4!
>>
>> BB#0: derived from LLVM BB %entry
>> PUSHi32 <ga:@foo>, %ESP<imp-def>, %ESP<imp-use>
>> CFI_INSTRUCTION <call frame instruction>
>> CALLpcrel32 <ga:@debugPointer>, <regmask %BH %BL %BP %BPL %BX
>> %DI %DIL %EBP %EBX %EDI %ESI %SI %SIL>, %ESP<imp-use>, %ESP<imp-def>,
>> %EAX<imp-def,dead>, %EDX<imp-def,dead>
>> %ESP&l...
2017 Jun 04
2
[newbie] trouble with global variables and CreateLoad/Store in JIT
Emitting calls to these functions (written in an .ll file linked in) works
fine, and does the right thing.
%Any = type { i8*, i32 }
define dllexport void @setGlobal(%Any* %ptr, %Any %value) {
store %Any %value, %Any* %ptr
ret void
}
define dllexport %Any @getGlobal(%Any* %ptr) {
%val = load %Any, %Any* %ptr
ret %Any %val
}
Trying to replace the setGlobal call with what should be
2017 Jun 06
2
[newbie] trouble with global variables and CreateLoad/Store in JIT
...;>> @foo+4, and the stores seem to be going to the right addresses as well:
>>>> @foo and @foo+4!
>>>>
>>>> BB#0: derived from LLVM BB %entry
>>>> PUSHi32 <ga:@foo>, %ESP<imp-def>, %ESP<imp-use>
>>>> CFI_INSTRUCTION <call frame instruction>
>>>> CALLpcrel32 <ga:@debugPointer>, <regmask %BH %BL %BP %BPL %BX
>>>> %DI %DIL %EBP %EBX %EDI %ESI %SI %SIL>, %ESP<imp-use>, %ESP<imp-def>,
>>>> %EAX<imp-def,dead>, %EDX<imp-def,dead>...
2017 Jun 07
2
[newbie] trouble with global variables and CreateLoad/Store in JIT
...be going to the right addresses as well:
>>>>>> @foo and @foo+4!
>>>>>>
>>>>>> BB#0: derived from LLVM BB %entry
>>>>>> PUSHi32 <ga:@foo>, %ESP<imp-def>, %ESP<imp-use>
>>>>>> CFI_INSTRUCTION <call frame instruction>
>>>>>> CALLpcrel32 <ga:@debugPointer>, <regmask %BH %BL %BP %BPL
>>>>>> %BX %DI %DIL %EBP %EBX %EDI %ESI %SI %SIL>, %ESP<imp-use>, %ESP<imp-def>,
>>>>>> %EAX<imp-def,dead>,...
2015 Aug 10
2
ARM: Predicated returns considered analyzable?
...[SP-4]
fi#1: size=4, align=4, at location [SP-8]
Function Live Ins: %R0, %R1
BB#0: derived from LLVM BB %entry
Live Ins: %R0 %R1 %R7 %LR %LR %R7
%SP<def,tied1> = t2STMDB_UPD %SP<tied0>, pred:14, pred:%noreg,
%R7<kill>, %LR<kill>; flags: FrameSetup
CFI_INSTRUCTION <call frame instruction>; flags: FrameSetup
CFI_INSTRUCTION <call frame instruction>; flags: FrameSetup
CFI_INSTRUCTION <call frame instruction>; flags: FrameSetup
%R7<def> = tMOVr %SP<kill>, pred:14, pred:%noreg; flags: FrameSetup...