c++ symbols received from backtrace_symbols does not show function in g++

I’m trying to print a backtrace in code progrematically, compiling all my source with -g, as well as linking with it, and I also added fvisibility=internal.

but when I call the symbol list, all my code looks like:

module() [0x424b69]

why does the function name does not appear in the braces, what other possible flag should I add?


Source: gcc

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.