https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101470

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #0)
> After realizing that clangs -gline-tables-only is an alias for -g1, I looked
> at gcc's -g1 and found it does have line table info (since gcc 4.9), but
> emits a bit more than clangs -g1.

The discussion around line tables being added to -g1 can be found in these two
threads:
https://gcc.gnu.org/legacy-ml/gcc-patches/2013-02/msg00260.html
https://gcc.gnu.org/legacy-ml/gcc-patches/2011-04/msg02075.html

I think it was decided not to add a new option for line tables only back then.

Reply via email to