aboutsummaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2021-07-19 10:23:27 -0700
committerIndu Bhagat <indu.bhagat@oracle.com>2021-07-19 10:34:22 -0700
commit483dd64546f1c7aa6ad8986eee570849d25f15e3 (patch)
tree0d4fecf49ce21b9d596f45310a943d278d3504af /gcc/flags.h
parentaad32a00b7d2b64ae158b2b167768a9ae3e20f6e (diff)
downloadgcc-483dd64546f1c7aa6ad8986eee570849d25f15e3.zip
gcc-483dd64546f1c7aa6ad8986eee570849d25f15e3.tar.gz
gcc-483dd64546f1c7aa6ad8986eee570849d25f15e3.tar.bz2
debug: Add new function ctf_debuginfo_p
gcc/ * flags.h (ctf_debuginfo_p): New function declaration. * opts.c (ctf_debuginfo_p): New function definition.
Diffstat (limited to 'gcc/flags.h')
-rw-r--r--gcc/flags.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index 85fd228a..afedef0 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -44,6 +44,10 @@ const char * debug_set_names (uint32_t w_symbols);
extern bool btf_debuginfo_p ();
+/* Return true iff CTF debug info is enabled. */
+
+extern bool ctf_debuginfo_p ();
+
/* Return true iff DWARF2 debug info is enabled. */
extern bool dwarf_debuginfo_p ();