From: Petr Machata Date: Fri, 4 Mar 2011 20:28:40 +0000 (+0100) Subject: dwarflint: Publish the option --dump-offsets X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e4740bd0414f5d5c8f355b21fdcb7dbf06aff58c;p=thirdparty%2Felfutils.git dwarflint: Publish the option --dump-offsets - must have been forgotten - and one coding style nit --- diff --git a/dwarflint/check_debug_info.cc b/dwarflint/check_debug_info.cc index 59792d5c3..e13b0fe69 100644 --- a/dwarflint/check_debug_info.cc +++ b/dwarflint/check_debug_info.cc @@ -1144,6 +1144,7 @@ check_debug_info_refs::descriptor () static checkdescriptor cd (checkdescriptor::create ("check_debug_info_refs") .groups ("@low") + .option (dump_die_offsets) .prereq () .prereq () .description ( diff --git a/dwarflint/check_debug_line.cc b/dwarflint/check_debug_line.cc index d4675babb..14f91080d 100644 --- a/dwarflint/check_debug_line.cc +++ b/dwarflint/check_debug_line.cc @@ -125,8 +125,8 @@ namespace } bool - use_file (files_t &files, uint64_t file_idx, - where *where, char const *msg = "") + use_file (files_t &files, uint64_t file_idx, + where *where, char const *msg = "") { if (file_idx == 0 || file_idx > files.size ()) {