This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Q] assembler code with the source lines
- To: Youngsoo Choi <youngsc at cs dot umn dot edu>
- Subject: Re: [Q] assembler code with the source lines
- From: "Andrew Morton" <morton at nortelnetworks dot com>
- Date: Mon, 14 Feb 2000 12:52:22 +1100
- CC: gcc at gcc dot gnu dot org
- Organization: Nortel Networks, Wollongong Australia
- References: <Pine.GSO.4.05.10002121501160.9999-100000@hamilton.ece.umn.edu>
Youngsoo Choi wrote:
>
> Is there any option(flag) to obtain assembler codes with the source lines?
> '-S' only produces codes without source information.
> If not, how can we know cetain optimized assembler codes are corresponding to
> which source lines ?
Two options I know of:
showasm: http://gcc.gnu.org/ml/gcc/2000-01/msg00754.html
mix: http://www.uow.edu.au/~andrewm/