search for: e24dd008

Displaying 6 results from an estimated 6 matches for "e24dd008".

2012 Jul 06
3
[LLVMdev] Problem with __inline keyword
...ernal symbols. Specifically, if I have the following test program: __inline int foo() { return 5; } int bar() { return foo(); } Compiling for ARM with no optimizations yields this: 00000000 <bar>: 0: e92d4800 push {fp, lr} 4: e1a0b00d mov fp, sp 8: e24dd008 sub sp, sp, #8 c: ebfffffe bl 0 <foo> 10: e58d0004 str r0, [sp, #4] 14: e1a0d00b mov sp, fp 18: e8bd4800 pop {fp, lr} 1c: e12fff1e bx lr As you can see, no inlining took place, so there is still a refere...
2014 May 30
3
[LLVMdev] Error with Gold Linker during LTO
So you see the issue as well in ARM? When doing a objdump -D weakMainO1.exe | grep -A 10 "<_ZN1C13caller_methodEv>:" I see: 00008b88 <_ZN1C13caller_methodEv>: 8b88: e92d4800 push {fp, lr} 8b8c: e1a0b00d mov fp, sp 8b90: e24dd008 sub sp, sp, #8 8b94: e58d0004 str r0, [sp, #4] 8b98: e59d0004 ldr r0, [sp, #4] 8b9c: ebffdd17 bl 0 <__preinit_array_end> 8ba0: e1a0d00b mov sp, fp 8ba4: e8bd4800 pop {fp, lr} 8ba8: e12fff1e bx lr where the bl 0 causes a seg fault. I'll check x86_64, but cu...
2010 Jan 18
1
[LLVMdev] JIT on ARM
...block 0 offset 0 size 40 JITTing function 'main' JIT: Starting CodeGen of Function main JIT: Emitting BB0 at [0x4512e010] JIT: 0x4512e010: STM %SP, 12, 14, %reg0, %R11<kill>, %LR<kill> 0xe92d4800 JIT: 0x4512e014: %SP<def> = SUBri %SP<kill>, 8, 14, %reg0, %reg0 0xe24dd008 JIT: 0x4512e018: %R0<def> = MOVi 20, 14, %reg0, %reg0 0xe3a00014 JIT: 0x4512e01c: STR %R0<kill>, %SP, %reg0, 4, 14, %reg0, Mem:ST(4,4) [b + 0] 0xe58d0004 JIT: 0x4512e020: %R0<def> = ADDri %SP, 4, 14, %reg0, %reg0 0xe28d0004 JIT: 0x4512e024: BL <ga:add1>, %R0<kill&gt...
2014 May 30
2
[LLVMdev] Error with Gold Linker during LTO
...hen doing a > > objdump -D weakMainO1.exe | grep -A 10 "<_ZN1C13caller_methodEv>:" > > I see: > > 00008b88 <_ZN1C13caller_methodEv>: > 8b88: e92d4800 push {fp, lr} > 8b8c: e1a0b00d mov fp, sp > 8b90: e24dd008 sub sp, sp, #8 > 8b94: e58d0004 str r0, [sp, #4] > 8b98: e59d0004 ldr r0, [sp, #4] > 8b9c: ebffdd17 bl 0 <__preinit_array_end> > 8ba0: e1a0d00b mov sp, fp > 8ba4: e8bd4800...
2014 May 30
4
[LLVMdev] Error with Gold Linker during LTO
We've found an error during the use of LTO that appears to happen only during the use of the gold linker. We essentially have a file which is compiled *without* LTO: f1() { h1(); } And a second file that is compiled/linked *with* LTO: f2() { f1(); h1(); } This second file has the function h1() inlined during LTO. The resulting executable fails because the symbol for h1
2012 Feb 16
2
[LLVMdev] difference in function prologue generated with clang and gcc
...######## Dissassembly of main() from all-types.c compiled with CLANG. 00008444 <main>: float v_float; double v_double; int main () { 8444: e92d4800 push {fp, lr} 8448: e1a0b00d mov fp, sp 844c: e24dd008 sub sp, sp, #8 8450: e3a00000 mov r0, #0 8454: e58d0004 str r0, [sp, #4] extern void dummy(); #ifdef usestubs set_debug_traps(); breakpoint(); #endif dummy(); 8458: e58d0000 str r0,...