Displaying 5 results from an estimated 5 matches for "e1a0d00b".
Did you mean:
e1a0b00d
2012 Jul 06
3
[LLVMdev] Problem with __inline keyword
...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 reference
to foo(). However, no definition for foo() is actually present.
If I instead define foo as "static __inline", then the...
2014 May 30
3
[LLVMdev] Error with Gold Linker during LTO
...v>:"
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 currently don't have that setup, so it'll take me a little bit of time to check.
-----Original Message-----
From: Rafael EspĂndola [mailto:rafael.espindola...
2014 May 30
2
[LLVMdev] Error with Gold Linker during LTO
...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 currently don't have that setup, so it'll take me a little bit of time to check.
>...
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
...my();
#ifdef usestubs
set_debug_traps();
breakpoint();
#endif
dummy();
8458: e58d0000 str r0, [sp]
845c: eb000002 bl 846c <dummy>
return 0;
8460: e59d0000 ldr r0, [sp]
8464: e1a0d00b mov sp, fp
8468: e8bd8800 pop {fp, pc}
0000846c <dummy>:
}
void dummy()
{
846c: e3a00006 mov r0, #6
/* Some linkers (e.g. on AIX) remove unreferenced variables,
so make sure to reference them. */
v_cha...