diff options
author | Petr Machata <pmachata@redhat.com> | 2011-03-08 19:20:03 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2011-03-08 19:20:03 +0100 |
commit | e2ffae3e282d8cf5db74d27f1e0c89a235a7e7b8 (patch) | |
tree | a9d960fae3e2bbd58c2343410509d822fa075f49 | |
parent | f9d71da24e497af7fc00bf38f88e494053b06a81 (diff) | |
download | elfutils-e2ffae3e282d8cf5db74d27f1e0c89a235a7e7b8.tar.gz |
dwarflint: Put the --dump-offsets option to the right group
-rw-r--r-- | dwarflint/check_debug_info.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dwarflint/check_debug_info.cc b/dwarflint/check_debug_info.cc index 348dad0d..1ad33bca 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<typeof (*_m_sec_info)> () .prereq<typeof (*_m_sec_str)> () .prereq<typeof (*_m_abbrevs)> () @@ -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<typeof (*_m_info)> () .prereq<typeof (*_m_line)> () .description ( |