summaryrefslogtreecommitdiff
path: root/gcc/debug.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2017-11-13 17:26:41 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2017-11-13 17:26:41 +0000
commit2f02b2c29168b6db2a25deb8073557330f652508 (patch)
tree7258aea2ab239cf5e6c08384f4eb1d2d0464e1a8 /gcc/debug.h
parent41f0e8194de366399afb726a6862843d81f896a3 (diff)
re PR lto/81351 (Many LTO testcases FAIL)
PR lto/81351 * debug.h (dwarf2out_do_eh_frame): Declare. * dwarf2cfi.c (dwarf2out_do_eh_frame): New predicate. (dwarf2out_do_frame): Use it. (dwarf2out_do_cfi_asm): Likewise. * dwarf2out.c (dwarf2out_frame_finish): Likewise. (dwarf2out_assembly_start): Likewise. (dwarf2out_begin_prologue): Fix comment. * toplev.c (compile_file): Always call dwarf2out_frame_finish if the target needs either debug or unwind DWARF2 info. * lto-opts.c (lto_write_options): Do not save -fexceptions, -fnon-call-exceptions, -ffp-contract, -fmath-errno, -fsigned-zeros, -ftrapping-math, -ftrapv and -fwrapv. From-SVN: r254697
Diffstat (limited to 'gcc/debug.h')
-rw-r--r--gcc/debug.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/debug.h b/gcc/debug.h
index 19b27848ca8..277d990c20f 100644
--- a/gcc/debug.h
+++ b/gcc/debug.h
@@ -241,8 +241,7 @@ extern void dwarf2out_vms_end_prologue (unsigned int, const char *);
extern void dwarf2out_vms_begin_epilogue (unsigned int, const char *);
extern void dwarf2out_end_epilogue (unsigned int, const char *);
extern void dwarf2out_frame_finish (void);
-/* Decide whether we want to emit frame unwind information for the current
- translation unit. */
+extern bool dwarf2out_do_eh_frame (void);
extern bool dwarf2out_do_frame (void);
extern bool dwarf2out_do_cfi_asm (void);
extern void dwarf2out_switch_text_section (void);