search for: _setfoo

Displaying 3 results from an estimated 3 matches for "_setfoo".

2017 Jun 06
2
[newbie] trouble with global variables and CreateLoad/Store in JIT
...m-objdump.exe -r -d test.o > > test.o: file format COFF-i386 > > Disassembly of section .text: > .text: > 0: 00 00 addb %al, (%eax) > 00000000: IMAGE_REL_I386_DIR32 _XEP:setfoo > 2: 00 00 addb %al, (%eax) > > _setfoo: > 4: 56 pushl %esi > 5: 83 ec 40 subl $64, %esp > 8: 89 e0 movl %esp, %eax > a: c7 00 00 00 00 00 movl $0, (%eax) > 0000000c: IMAGE_REL_I386_DIR32 _foo > 10: e8...
2017 Jun 07
2
[newbie] trouble with global variables and CreateLoad/Store in JIT
...86 >>> >>> Disassembly of section .text: >>> .text: >>> 0: 00 00 addb %al, (%eax) >>> 00000000: IMAGE_REL_I386_DIR32 _XEP:setfoo >>> 2: 00 00 addb %al, (%eax) >>> >>> _setfoo: >>> 4: 56 pushl %esi >>> 5: 83 ec 40 subl $64, %esp >>> 8: 89 e0 movl %esp, %eax >>> a: c7 00 00 00 00 00 movl $0, (%eax) >>> 0000000c: IMAGE_REL...
2017 Jun 06
2
[newbie] trouble with global variables and CreateLoad/Store in JIT
On Mon, Jun 5, 2017 at 1:34 PM, Nikodemus Siivola < nikodemus at random-state.net> wrote: > Uh. Turns out that if I hide the pointer to @foo from LLVM by passing it > through an opaque identity function ... then everything works fine. > > Is this a bug in LLVM or is there some magic involving globals I'm > misunderstanding? > This looks like a bug in the handling of