search for: call_methods_main

Displaying 1 result from an estimated 1 matches for "call_methods_main".

2014 May 30
4
[LLVMdev] Error with Gold Linker during LTO
...lass 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(); } 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 w...