g++ assembly output

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

 



I write in C++ and generate assembly output by g++ -S. Is it possible to
annotate this output with the original C++ code? E.g. it would be nice to
get sth like

% a++;
inc ax;

or maybe

% main.cpp, line 6
inc ax;
-- 
View this message in context: http://www.nabble.com/g%2B%2B-assembly-output-tf2787771.html#a7778041
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux