search for: weakimpl

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

2014 May 30
3
[LLVMdev] Error with Gold Linker during LTO
...dola [mailto:rafael.espindola at gmail.com] Sent: Friday, May 30, 2014 2:05 PM To: Daniel Stewart Cc: LLVM Developers Mailing List Subject: Re: Error with Gold Linker during LTO > 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 Those command line options don't exist on trunk. The following works for me: $ clang++ -O0 weakImpl.cpp -o weakImpl.o -c $ clang++ -O1 -o weakMainO1...
2014 May 30
4
[LLVMdev] Error with Gold Linker during LTO
...nd .o. All the actual code is below for reproducing the error. Is this an error in the linker itself or in how LLVM deals with the symbols? Daniel cat > weakCpp.h << \! class C { public: int simple_method() {return 1;} int caller_method() ; }; ! cat > weakImpl.cpp << \! #include "weakCpp.h" int C::caller_method() { return simple_method(); } ! cat > weakMain.cpp << \! #include "weakCpp.h" int call_methods_main() { C instance; return instance.simple_method() + instance.caller_method(); }...
2014 May 30
2
[LLVMdev] Error with Gold Linker during LTO
...t gmail.com] > Sent: Friday, May 30, 2014 2:05 PM > To: Daniel Stewart > Cc: LLVM Developers Mailing List > Subject: Re: Error with Gold Linker during LTO > >> 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 > > Those command line options don't exist on trunk. > > The following works for me: > > $ clang++ -O0 weakImpl.cpp -o weakIm...