Skip to content
Snippets Groups Projects
Commit 374b9cb8 authored by Jakub Jelinek's avatar Jakub Jelinek Committed by Jakub Jelinek
Browse files

re PR debug/42454 (debug_ranges table contains empty range for unused .text...

re PR debug/42454 (debug_ranges table contains empty range for unused .text section with -ffunction-sections)

	PR debug/42454
	* dwarf2out.c (add_ranges_by_labels_to_AT_range_list): New function.
	(dwarf2out_finish): Call add_ranges_by_labels_to_AT_range_list.

	* gcc.dg/debug/dwarf2/aranges-fnsec-1.c: Add check for .debug_ranges.

Co-Authored-By: default avatarCary Coutant <ccoutant@google.com>

From-SVN: r155429
parent 83c3a2d8
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment