diff options
author | Martin Liska <mliska@suse.cz> | 2020-09-24 16:29:49 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-09-25 10:13:13 +0200 |
commit | b2784a9698ffdd6cd8434694c11336e9f7905be5 (patch) | |
tree | c317f457ebd1b09ca5093bd7fd41d13aed3f76c0 /gcc/cgraph.h | |
parent | e9e2953ceddb804e551d75725f4f603aaf71cc0f (diff) | |
download | gcc-b2784a9698ffdd6cd8434694c11336e9f7905be5.zip gcc-b2784a9698ffdd6cd8434694c11336e9f7905be5.tar.gz gcc-b2784a9698ffdd6cd8434694c11336e9f7905be5.tar.bz2 |
Add cgraph_edge::debug function.
gcc/ChangeLog:
* cgraph.c (cgraph_edge::debug): New.
* cgraph.h (cgraph_edge::debug): New.
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 0211f08..96d6cf6 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -2022,6 +2022,9 @@ private: /* Output flags of edge to a file F. */ void dump_edge_flags (FILE *f); + /* Dump edge to stderr. */ + void DEBUG_FUNCTION debug (void); + /* Verify that call graph edge corresponds to DECL from the associated statement. Return true if the verification should fail. */ bool verify_corresponds_to_fndecl (tree decl); |