search for: foo_addr

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

2009 Feb 16
1
[LLVMdev] Invalid call generated on 64-bit linux when calling native C function from IR
...n 2^24 bytes of the instruction. It looks like the code generator should generate a jump using a function pointer in this situation and fails to handle this. Am I doing something wrong in my code or is this an LLVM bug? Jan Linux 64-bit: (gdb) print addone_addr $1 = (void *) 0x406018 (gdb) x/10i foo_addr 0x2b7184072030: sub $0x8,%rsp 0x2b7184072034: mov $0x14,%edi 0x2b7184072039: callq 0x2b7200406018 <--- absolutely not ok 0x2b718407203e: add $0x8,%rsp 0x2b7184072042: retq (gdb) x/10i nfoo_addr 0x40603a <nativefoo>: push %rbp 0x40603b <nativefoo+1>: m...
2008 Aug 27
2
[LLVMdev] Mandatory duplicated incoming nodes on phis
...he incoming value an equivalent number of times. The attached code seems wrong, but it compiles as correct, and removing the duplicated incoming node causes an error. Is this expected? Cheers, Gary -- http://gbenson.net/ -------------- next part -------------- define internal i32 @func419(i32* %foo_addr, i32* %bar_addr, i32 %baz) { %method = load i32* %foo_addr br label %not_zero not_zero: switch i32 %baz, label %no_exception9 [ i32 6, label %bci_56 i32 7, label %bci_56 ] no_exception9: %bar = load i32* %bar_addr br...
2014 Sep 01
2
[LLVMdev] Modify a module at runtime in MCJIT
Hello, I'm using MCJIT to run some loops on my ARM processor. I was trying to perform some runtime optimizations on some function, and this requires recompiling the function at runtime. I know that this feature is not available yet in MCJIT , and to modify a function I have to create a new module with the newly optimized code. My questions are: - The newly created module can be