Displaying 1 result from an estimated 1 matches for "_z9getstringb5cxx11v".
2016 May 04
2
Clang 3.8 and gcc 5.2 has difference in symbol names
...returning std::string
which is built by gcc) is different than the one when compiled by clang
3.8.
I also tried to replicate this issue by using a small test application
which has a function named GetString() returning std::string. When I
compile this file using gcc 5.2, I see symbol name as
"_Z9GetStringB5cxx11v" and when I compile the same file using clang++, I
get symbol name as "_Z9GetStringv".
In order to resolve this difference, I tried below things -
gcc 5.2 with c++11 support has added this special behavior due to which
symbol name contains B5cxx11. Hence, I tried building LLV...