From: Petr Machata Date: Tue, 8 Mar 2011 18:20:03 +0000 (+0100) Subject: dwarflint: Put the --dump-offsets option to the right group X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e2ffae3e282d8cf5db74d27f1e0c89a235a7e7b8;p=thirdparty%2Felfutils.git dwarflint: Put the --dump-offsets option to the right group --- 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 (