From e2ffae3e282d8cf5db74d27f1e0c89a235a7e7b8 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Tue, 8 Mar 2011 19:20:03 +0100 Subject: [PATCH] dwarflint: Put the --dump-offsets option to the right group --- dwarflint/check_debug_info.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dwarflint/check_debug_info.cc b/dwarflint/check_debug_info.cc index 348dad0d2..1ad33bcaf 100644 --- a/dwarflint/check_debug_info.cc +++ b/dwarflint/check_debug_info.cc @@ -54,12 +54,17 @@ read_cu_headers::descriptor () return &cd; } +static void_option + dump_die_offsets ("Dump DIE offsets to stderr as the tree is iterated.", + "dump-offsets"); + checkdescriptor const * check_debug_info::descriptor () { static checkdescriptor cd (checkdescriptor::create ("check_debug_info") .groups ("@low") + .option (dump_die_offsets) .prereq () .prereq () .prereq () @@ -97,10 +102,6 @@ check_debug_info::descriptor () return &cd; } -static void_option - dump_die_offsets ("Dump DIE offsets to stderr as the tree is iterated.", - "dump-offsets"); - namespace { bool @@ -1171,7 +1172,6 @@ check_debug_info_refs::descriptor () static checkdescriptor cd (checkdescriptor::create ("check_debug_info_refs") .groups ("@low") - .option (dump_die_offsets) .prereq () .prereq () .description ( -- 2.47.2