This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Comments in assember output
- From: Artur Krzysztof Szostak <artur at alice dot phy dot uct dot ac dot za>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 24 Nov 2006 17:42:52 +0200
- Subject: Comments in assember output
Is there a way to make GCC output the source code comments or corresponding
c++ source code that generated a set of assembler instructions in the .s
files?
The only thing that seems to come close is the -fverbose-asm switch, but this
does not give enough commentry for me to quickly and easily track down the
corresponding source line in the c++ source code.
--
Artur Szostak
Tel. +27 21 650 3356
Mobile: +27 82 297 9502
Emails: artur@alice.phy.uct.ac.za artursz@iafrica.com
AIM: artiblot
Skype: artiblot
Room: 4T6
Address:
R.W. James Building,
Rondebosch, 7701
Cape Town, South Africa
Physics Department
University of Cape Town