Displaying 4 results from an estimated 4 matches for "e8bd4800".
2012 Jul 06
3
[LLVMdev] Problem with __inline keyword
...ns 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 definition of
foo() is retained:
0000...
2014 May 30
3
[LLVMdev] Error with Gold Linker during LTO
...<_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 at gmail.com]
Sent: Friday, M...
2014 May 30
2
[LLVMdev] Error with Gold Linker during LTO
...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 E...
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