How to get symbol table in gcc/g++ ?
How to get symbol table in gcc/g++ ?
I have a program in C++ (virt.cpp)
Now i will compile the program using maptable options which will generate a file named "mapfile" in current directory g++ -Wl,-Map -Wl,mapfile -Wl,--cref virt.cpp
Now open the "mapfile"You will see the Symbols i.e. Class Names, Variables and function names(B::bar(),B::qux()) etc.



Comments
Post a Comment