aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorXionghu Luo <luoxhu@linux.ibm.com>2020-10-26 02:52:39 -0500
committerXionghu Luo <luoxhu@linux.ibm.com>2020-10-26 02:52:39 -0500
commita7d153ab8471bde05a9883d4cda9319ff89ea14b (patch)
treeea3c2aca296b23430c3d8207e1275e908eae1016 /gcc/print-rtl.c
parent9651cba4360ef7fbdff4f64faf9f650e1246a5c1 (diff)
downloadgcc-a7d153ab8471bde05a9883d4cda9319ff89ea14b.zip
gcc-a7d153ab8471bde05a9883d4cda9319ff89ea14b.tar.gz
gcc-a7d153ab8471bde05a9883d4cda9319ff89ea14b.tar.bz2
Add overloaded debug_bb and debug_bb_n with dump flags
Add overloads that accept a flags argument so we can print debug_bb_n (5, TDF_DETAILS) in gdb, also the debug_bb_slim variant would then be just a forwarder. gcc/ChangeLog: 2020-10-26 Xionghu Luo <luoxhu@linux.ibm.com> * cfg.c (debug_bb): New overloaded function. (debug_bb_n): New overloaded function. * cfg.h (debug_bb): New declaration. (debug_bb_n): New declaration. * print-rtl.c (debug_bb_slim): Call debug_bb with flags.
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index 25265ef..d514b1c 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -2139,7 +2139,7 @@ extern void debug_bb_slim (basic_block);
DEBUG_FUNCTION void
debug_bb_slim (basic_block bb)
{
- dump_bb (stderr, bb, 0, TDF_SLIM | TDF_BLOCKS);
+ debug_bb (bb, TDF_SLIM | TDF_BLOCKS);
}
extern void debug_bb_n_slim (int);