help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Decoding a symbol generated by g++


From: Thomas Maeder
Subject: Re: Decoding a symbol generated by g++
Date: Tue, 25 Apr 2006 23:23:33 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

sheikashrub@gmail.com writes:

> Does any one know of a better way to decode the symbol generated by
> the g++ 3.4.2 after it compiles a code?

Are you thinking of something like c++filt?

% man c++filt

       c++filt - Demangle C++ and Java symbols.


> I see a symbol being undefined when I link it. But not sure how to
> map that to the actual line in code.  Essentially I need to know how
> to decode the symbol and map it to a line in C++.

That line would be where the (demangled) symbol is referenced.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]