Displaying 3 results from an estimated 3 matches for "weakmaino1".
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: ebff...
2014 May 30
4
[LLVMdev] Error with Gold Linker during LTO
...cat > weakMain.cpp << \!
#include "weakCpp.h"
int call_methods_main() {
C instance;
return instance.simple_method() + instance.caller_method();
}
int main() {
return call_methods_main();
}
!
clang++ -O0 weakImpl.cpp -o weakImpl.o -c
clang++ -O1 -o weakMainO1.exe -flto -mcpu=cortex-a15 -mllvm
-debug-only=inline -static weakMain.cpp weakImpl.o -v
-Wl,-plugin-opt=-debug-only=inline -Wl,-fuse-ld=gold
-Wl,-plugin-opt=also-emit-llvm -Wl,-plugin-opt=obj-path=. >& O1.log
Daniel
--
Qualcomm Innovation Center, Inc. is a member of Code Auro...
2014 May 30
2
[LLVMdev] Error with Gold Linker during LTO
...r with Gold Linker during LTO
Sorry, I had understood that the linker was crashing, not the generated program.
I can reproduce the issue now.
On 30 May 2014 15:48, Daniel Stewart <stewartd at codeaurora.org> wrote:
> 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
>...