PR debug/81307 * dbxout.c (lastlineno): New variable. (dbx_debug_hooks): Use dbxout_switch_text_section as switch_text_section debug hook. (dbxout_function_end): Switch to current_function_section rather than function_section. If crtl->has_bb_partition, output just one N_FUN, depending on in_cold_section_p. (dbxout_source_line): Remember last lineno in lastlineno. (dbxout_switch_text_section): New function. (dbxout_function_decl): Adjust dbxout_block caller. (dbx_block_with_cold_children): New function. (dbxout_block): Return true if any LBRAC/RBRAC have been emitted. Use dbx_block_with_cold_children at depth == 0 in second partition. Add PARENT_BLOCKNUM argument, pass it optionally adjusted to children. Output LBRAC/RBRAC around recursive call only if the block is in the current partition, if not and anything was output, emit empty range LBRAC/RBRAC. * final.c (final_scan_insn): Compute cold_function_name before calling switch_text_section debug hook. Call that hook even if dwarf2out_do_frame if not emitting dwarf debug info. * g++.dg/debug/debug9.C: Remove -fno-reorder-blocks-and-partition workaround. From-SVN: r255161
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
dwarf2 | Loading commit data... | |
anonunion1.C | Loading commit data... | |
const1.C | Loading commit data... | |
const2.C | Loading commit data... | |
const3.C | Loading commit data... | |
const4.C | Loading commit data... | |
const5.C | Loading commit data... | |
crash1.C | Loading commit data... | |
debug.exp | Loading commit data... | |
debug1.C | Loading commit data... | |
debug2.C | Loading commit data... | |
debug3.C | Loading commit data... | |
debug4.C | Loading commit data... | |
debug5.C | Loading commit data... | |
debug6.C | Loading commit data... | |
debug7.C | Loading commit data... | |
debug8.C | Loading commit data... | |
debug9.C | Loading commit data... | |
dwarf-eh-personality-1.C | Loading commit data... | |
enum-1.C | Loading commit data... | |
enum-2.C | Loading commit data... | |
localclass1.C | Loading commit data... | |
minimal1.C | Loading commit data... | |
namespace1.C | Loading commit data... | |
namespace2.C | Loading commit data... | |
nullptr01.C | Loading commit data... | |
pr15736.cc | Loading commit data... | |
pr16792.C | Loading commit data... | |
pr22514.C | Loading commit data... | |
pr27657.C | Loading commit data... | |
pr29906.C | Loading commit data... | |
pr30898.C | Loading commit data... | |
pr34895.C | Loading commit data... | |
pr43010.C | Loading commit data... | |
pr44178.C | Loading commit data... | |
pr44182.C | Loading commit data... | |
pr45660.C | Loading commit data... | |
pr46240.cc | Loading commit data... | |
pr46241.C | Loading commit data... | |
pr46338.C | Loading commit data... | |
pr46583.C | Loading commit data... | |
pr47106.C | Loading commit data... | |
pr47209.C | Loading commit data... | |
pr47283.C | Loading commit data... | |
pr53466.C | Loading commit data... | |
pr53860.C | Loading commit data... | |
pr54499.C | Loading commit data... | |
pr54828.C | Loading commit data... | |
pr54831.C | Loading commit data... | |
pr56294.C | Loading commit data... | |
pr56819.C | Loading commit data... | |
pr65678.C | Loading commit data... | |
pr70271.C | Loading commit data... | |
pr71057.C | Loading commit data... | |
pr71432.C | Loading commit data... | |
pr72808.C | Loading commit data... | |
pr80461.C | Loading commit data... | |
ra1.C | Loading commit data... | |
static1.C | Loading commit data... | |
template1.C | Loading commit data... | |
template2.C | Loading commit data... | |
trivial.C | Loading commit data... | |
typedef1.C | Loading commit data... | |
typedef2.C | Loading commit data... | |
typedef3.C | Loading commit data... | |
using1.C | Loading commit data... | |
using2.C | Loading commit data... | |
using3.C | Loading commit data... | |
using4.C | Loading commit data... | |
using5.C | Loading commit data... | |
using6.C | Loading commit data... | |
vartrack1.C | Loading commit data... |