diff options
author | Indu Bhagat <indu.bhagat@oracle.com> | 2021-07-19 10:23:27 -0700 |
---|---|---|
committer | Indu Bhagat <indu.bhagat@oracle.com> | 2021-07-19 10:34:22 -0700 |
commit | 483dd64546f1c7aa6ad8986eee570849d25f15e3 (patch) | |
tree | 0d4fecf49ce21b9d596f45310a943d278d3504af /gcc/opts.c | |
parent | aad32a00b7d2b64ae158b2b167768a9ae3e20f6e (diff) | |
download | gcc-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/opts.c')
-rw-r--r-- | gcc/opts.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -135,6 +135,14 @@ btf_debuginfo_p () return (write_symbols & BTF_DEBUG); } +/* Return TRUE iff CTF debug info is enabled. */ + +bool +ctf_debuginfo_p () +{ + return (write_symbols & CTF_DEBUG); +} + /* Return TRUE iff dwarf2 debug info is enabled. */ bool |