]> gcc.gnu.org Git - gcc.git/commit
[SFN] Introduce -gstatement-frontiers option, enable debug markers
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 12 Dec 2017 02:16:31 +0000 (02:16 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 12 Dec 2017 02:16:31 +0000 (02:16 +0000)
commit8697bf9f46f36168ddba5752db582e673e3cbe8c
tree5ebc4974d8a1f07ace0cda3e302d94bfd57725a5
parent96a95ac18c2fe573d9c5039be18cf7c6cb26f171
[SFN] Introduce -gstatement-frontiers option, enable debug markers

Introduce a command line option to enable statement frontiers, enabled
by default in optimized builds with DWARF2+ debug information.

This patch depends on an earlier patch that completed the
infrastructure for debug markers, and on another patch that turns -g
into a negatable option prefix.

for  gcc/ChangeLog

* common.opt (gstatement-frontiers): New, setting
debug_nonbind_markers_p.
* rtl.h (MAY_HAVE_DEBUG_MARKER_INSNS): Activate.
* toplev.c (process_options): Autodetect value for debug statement
frontiers option.
* tree.h (MAY_HAVE_DEBUG_MARKER_STMTS): Activate.
* doc/invoke.texi (gstatement-frontiers, gno-statement-frontiers): New.

From-SVN: r255569
gcc/ChangeLog
gcc/common.opt
gcc/doc/invoke.texi
gcc/rtl.h
gcc/toplev.c
gcc/tree.h
This page took 0.06939 seconds and 5 git commands to generate.