« Return to Thread: Comments in assember output

Comments in assember output

by Artur Krzysztof Szostak :: Rate this Message:

Reply to Author | View in Thread

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@...  artursz@...
AIM: artiblot
Skype: artiblot
Room: 4T6
Address:
R.W. James Building,
Rondebosch, 7701
Cape Town, South Africa

Physics Department
University of Cape Town

 « Return to Thread: Comments in assember output