]> git.ipfire.org Git - thirdparty/elfutils.git/log
thirdparty/elfutils.git
14 years agodebugging hacks, not to be merged roland/dwarf-hacking
Roland McGrath [Tue, 31 Aug 2010 08:28:03 +0000 (01:28 -0700)] 
debugging hacks, not to be merged

14 years agoMerge branch 'pmachata/dwarflint-smartforms' into dwarf
Petr Machata [Mon, 11 Oct 2010 22:34:56 +0000 (00:34 +0200)] 
Merge branch 'pmachata/dwarflint-smartforms' into dwarf

14 years agodwarflint: Drop read_ctx_read_form in favor of read_generic_value
Petr Machata [Mon, 11 Oct 2010 21:52:42 +0000 (23:52 +0200)] 
dwarflint: Drop read_ctx_read_form in favor of read_generic_value

14 years agodwarflint: Fix a typo
Petr Machata [Mon, 11 Oct 2010 21:41:06 +0000 (23:41 +0200)] 
dwarflint: Fix a typo

14 years agodwarflint: Introduce read_generic_value into checked_read
Petr Machata [Mon, 11 Oct 2010 21:39:43 +0000 (23:39 +0200)] 
dwarflint: Introduce read_generic_value into checked_read
- the hope being several reading operations can be expressed in terms of
  read_generic_value

14 years agodwarflint: move read_sc_value to checked_read module
Petr Machata [Mon, 11 Oct 2010 21:33:19 +0000 (23:33 +0200)] 
dwarflint: move read_sc_value to checked_read module

14 years agodwarflint: checked_read takes const where
Petr Machata [Mon, 11 Oct 2010 21:10:13 +0000 (23:10 +0200)] 
dwarflint: checked_read takes const where

14 years agoUse std:tr1::hash<std::string> where possible.
Mark Wielaard [Mon, 11 Oct 2010 15:26:43 +0000 (17:26 +0200)] 
Use std:tr1::hash<std::string> where possible.

* c++/subr.hh (string_hash_combine): Removed.
  (hash<std::string>): Extend std::tr1::hash<std::string>.
* c++/dwarf_data (value_string): typedef std::tr1::hash<std::string>
  hasher.

14 years agodwarflint: Update TODO
Petr Machata [Sat, 9 Oct 2010 19:35:02 +0000 (21:35 +0200)] 
dwarflint: Update TODO

14 years agodwarflint: Change reloc_target signature
Petr Machata [Sat, 9 Oct 2010 19:34:56 +0000 (21:34 +0200)] 
dwarflint: Change reloc_target signature
- leave the body as is for the time being

14 years agodwarflint: Streamlining code
Petr Machata [Sat, 9 Oct 2010 18:45:04 +0000 (20:45 +0200)] 
dwarflint: Streamlining code
- Extract checks common to direct and indirect forms to
  check_debug_abbrev::check_form.
- Reading of indirect form is now done via a new function read_sc_value
  in check_debug_info.cc.  That function is also called for reading
  normal values of classes sc_value and sc_block

14 years agodwarflint: Use a cl_indirect test instead of testing DW_FORM_indirect
Petr Machata [Sat, 9 Oct 2010 17:29:50 +0000 (19:29 +0200)] 
dwarflint: Use a cl_indirect test instead of testing DW_FORM_indirect

14 years agodwarflint: Remove duplicate testing for allowed forms in check_debug_abbrev
Petr Machata [Sat, 9 Oct 2010 17:21:43 +0000 (19:21 +0200)] 
dwarflint: Remove duplicate testing for allowed forms in check_debug_abbrev

14 years agodwarflint: Add DW_FORM_indirect to DWARF 2
Petr Machata [Sat, 9 Oct 2010 17:20:56 +0000 (19:20 +0200)] 
dwarflint: Add DW_FORM_indirect to DWARF 2
- add cl_indirect to facilitate the indirect form.  Make this the implicit
  class of all attributes.

14 years agodwarflint: Retrofit cl_lineptr and cl_macptr to DWARF 2
Petr Machata [Sat, 9 Oct 2010 14:37:15 +0000 (16:37 +0200)] 
dwarflint: Retrofit cl_lineptr and cl_macptr to DWARF 2
- which fixes the failing test case

14 years agodwarflint: Retrofit proper marking of exprloc and loclistptr to earlier DWARFs
Petr Machata [Fri, 8 Oct 2010 23:28:52 +0000 (01:28 +0200)] 
dwarflint: Retrofit proper marking of exprloc and loclistptr to earlier DWARFs
- as a consequence, is_location_attrib is gone
- in check_debug_abbrev, we now check for appropriateness all form/attribute
  pairs, not just those that are location attribs
- too-wide references are now checked in one place for all reference types
- pointer checking now actually looks sane--the maze of DW_FORM_/DW_AT_
  switches was replaced by a straighforward switch on ver->form_class
- this introduces a testcase failure
- and similar work needs to be done for other cl_*ref classes

14 years agodwarflist: Fix dwarf_version::form_class
Petr Machata [Fri, 8 Oct 2010 23:18:53 +0000 (01:18 +0200)] 
dwarflist: Fix dwarf_version::form_class

14 years agodwarflint: Nits
Petr Machata [Fri, 8 Oct 2010 17:47:37 +0000 (19:47 +0200)] 
dwarflint: Nits

14 years agodwarflint: Fix classes for DW_AT_accessibility, _abstract_origin in DWARF2
Petr Machata [Fri, 8 Oct 2010 16:52:05 +0000 (18:52 +0200)] 
dwarflint: Fix classes for DW_AT_accessibility, _abstract_origin in DWARF2

14 years agodwarflint: Support MIPS extensions
Petr Machata [Fri, 8 Oct 2010 16:43:52 +0000 (18:43 +0200)] 
dwarflint: Support MIPS extensions
- and unconditionally return it in request to dwarf_version::get

14 years agodwarflint: Remove part of the loclist switching
Petr Machata [Thu, 7 Oct 2010 16:09:53 +0000 (18:09 +0200)] 
dwarflint: Remove part of the loclist switching
- use the new articulated forms/attributes instead
- the goal is to make most of the code like this

14 years agodwarflint: Add dwarf_version::form_class, ~::ambiguous_class, drop form::cls
Petr Machata [Thu, 7 Oct 2010 15:46:58 +0000 (17:46 +0200)] 
dwarflint: Add dwarf_version::form_class, ~::ambiguous_class, drop form::cls
- And use that in dwarf_3 to properly support DW_AT_data_member_location

14 years agodwarflint: Add form::cls to get the class of form in context of given attribute
Petr Machata [Thu, 7 Oct 2010 13:16:44 +0000 (15:16 +0200)] 
dwarflint: Add form::cls to get the class of form in context of given attribute

14 years agodwarflint: Rename variable
Petr Machata [Thu, 7 Oct 2010 09:52:59 +0000 (11:52 +0200)] 
dwarflint: Rename variable

14 years agodwarfint: Nits
Petr Machata [Thu, 7 Oct 2010 02:54:37 +0000 (04:54 +0200)] 
dwarfint: Nits

14 years agodwarflint: Devirtualize form and attribute
Petr Machata [Thu, 7 Oct 2010 02:47:59 +0000 (04:47 +0200)] 
dwarflint: Devirtualize form and attribute

14 years agodwarflint: Drop duplicate code
Petr Machata [Thu, 7 Oct 2010 02:07:55 +0000 (04:07 +0200)] 
dwarflint: Drop duplicate code

14 years agodwarflint: Shuffle code
Petr Machata [Thu, 7 Oct 2010 01:49:52 +0000 (03:49 +0200)] 
dwarflint: Shuffle code

14 years agodwarflint: Move more code from dwarf_version.hh to .cc
Petr Machata [Thu, 7 Oct 2010 01:47:18 +0000 (03:47 +0200)] 
dwarflint: Move more code from dwarf_version.hh to .cc
- And drop selwidth_form, which was overly general for the two uses that we
  have.  Implement corresponding classes directly.

14 years agodwarflint: Header fixlets
Petr Machata [Thu, 7 Oct 2010 01:31:17 +0000 (03:31 +0200)] 
dwarflint: Header fixlets

14 years agodwarflint: Split the dwarf_version.cc into modules by DWARF version
Petr Machata [Thu, 7 Oct 2010 01:28:11 +0000 (03:28 +0200)] 
dwarflint: Split the dwarf_version.cc into modules by DWARF version

14 years agodwarflint: Rename tables.* to dwarf_version.*
Petr Machata [Thu, 7 Oct 2010 00:50:16 +0000 (02:50 +0200)] 
dwarflint: Rename tables.* to dwarf_version.*

14 years agodwarflint: Introduce dwarf_version::extend
Petr Machata [Thu, 7 Oct 2010 00:42:38 +0000 (02:42 +0200)] 
dwarflint: Introduce dwarf_version::extend
- Drop support for parental version in std_dwarf, implement the same via
  the extension mechanism
- Drop the huge #if 0 that has been there for about a year or so

14 years agodwarflint: Make DWARF attributes objects, too
Petr Machata [Wed, 6 Oct 2010 19:56:27 +0000 (21:56 +0200)] 
dwarflint: Make DWARF attributes objects, too

14 years agodwarflint: Use form::storage_class and checked_read_leb128 in check_debug_info
Petr Machata [Wed, 6 Oct 2010 18:37:54 +0000 (20:37 +0200)] 
dwarflint: Use form::storage_class and checked_read_leb128 in check_debug_info

14 years agodwarflint: Add form::storage_class
Petr Machata [Wed, 6 Oct 2010 18:37:23 +0000 (20:37 +0200)] 
dwarflint: Add form::storage_class

14 years agodwarflint: Add checked_read_leb128
Petr Machata [Wed, 6 Oct 2010 18:31:14 +0000 (20:31 +0200)] 
dwarflint: Add checked_read_leb128
- this is similar to read_ctx_read_var
- also drop a bunch of C-isms

14 years agodwarflint: Minor adjustments in tables.cc
Petr Machata [Wed, 6 Oct 2010 17:47:53 +0000 (19:47 +0200)] 
dwarflint: Minor adjustments in tables.cc
- After some experimenting with different ways of defining form classes,
  I'm back to the original code.

14 years agodwarflint: Remove dwarf_version::form_width
Petr Machata [Wed, 6 Oct 2010 14:59:53 +0000 (16:59 +0200)] 
dwarflint: Remove dwarf_version::form_width
- and a bunch of changes in dwarf_version internals

14 years agodwarflint: Make a bunch of internal types related to dwarf_version public
Petr Machata [Wed, 6 Oct 2010 13:52:07 +0000 (15:52 +0200)] 
dwarflint: Make a bunch of internal types related to dwarf_version public

14 years agodwarflint: Use dwarf_version::form_width in check_debug_info
Petr Machata [Wed, 6 Oct 2010 12:49:11 +0000 (14:49 +0200)] 
dwarflint: Use dwarf_version::form_width in check_debug_info

14 years agodwarflint: Revamping dwarf tables
Petr Machata [Tue, 5 Oct 2010 18:33:03 +0000 (20:33 +0200)] 
dwarflint: Revamping dwarf tables
- forms are now objects.  The idea being they know how big they are, how
  to relocate them, perhaps they might know how to extract value from
  stream.  The goal here is to concetrate all the form-related knowledge
  to a sigle place.  It now passes the suite, but is not really done yet.

14 years agodwarflint: Fix handling of indirect forms in check_debug_info
Petr Machata [Tue, 5 Oct 2010 16:38:52 +0000 (18:38 +0200)] 
dwarflint: Fix handling of indirect forms in check_debug_info
- and commit a couple other nits

14 years agodwarflint: Use wrapper to print check descriptions
Petr Machata [Fri, 1 Oct 2010 14:51:48 +0000 (16:51 +0200)] 
dwarflint: Use wrapper to print check descriptions
- this should make it easier to write them
- also use argp to print out properly formatted help for each check.  Drop
  a bunch of code that was necessary to do things the old way

14 years agodwarflint: Avoid constructing temporary std::string in line wrapper
Petr Machata [Fri, 1 Oct 2010 14:21:07 +0000 (16:21 +0200)] 
dwarflint: Avoid constructing temporary std::string in line wrapper

14 years agodwarflint: Fix off-by-one in spaces
Petr Machata [Fri, 1 Oct 2010 14:19:00 +0000 (16:19 +0200)] 
dwarflint: Fix off-by-one in spaces

14 years agodwarflint: Add a function to format N spaces
Petr Machata [Fri, 1 Oct 2010 13:55:45 +0000 (15:55 +0200)] 
dwarflint: Add a function to format N spaces

14 years agodwarflint: Fix wrapping long words on indented lines
Petr Machata [Fri, 1 Oct 2010 11:51:08 +0000 (13:51 +0200)] 
dwarflint: Fix wrapping long words on indented lines

14 years agodwarflint: Add line wrapper
Petr Machata [Fri, 1 Oct 2010 01:10:28 +0000 (03:10 +0200)] 
dwarflint: Add line wrapper
- it's not currently used, but we will use this for formatting of check
  documentation and options

14 years agodwarflint: Check coverage of arange vs. CUs as well as the other way around
Petr Machata [Thu, 30 Sep 2010 16:05:54 +0000 (18:05 +0200)] 
dwarflint: Check coverage of arange vs. CUs as well as the other way around

14 years agodwarflint: Test case for aranges that terminate early
Petr Machata [Thu, 30 Sep 2010 15:37:48 +0000 (17:37 +0200)] 
dwarflint: Test case for aranges that terminate early

14 years agodwarflint: Promote duplicate-arange-for-CPU to error
Petr Machata [Thu, 30 Sep 2010 15:01:50 +0000 (17:01 +0200)] 
dwarflint: Promote duplicate-arange-for-CPU to error

14 years agodwarflint: Check for CUs that miss arange table
Petr Machata [Thu, 30 Sep 2010 14:53:47 +0000 (16:53 +0200)] 
dwarflint: Check for CUs that miss arange table
+testcase

14 years agodwarflint: check_range_out_of_scope should run even on absent .debug_loc
Petr Machata [Thu, 30 Sep 2010 12:23:55 +0000 (14:23 +0200)] 
dwarflint: check_range_out_of_scope should run even on absent .debug_loc
- the actual fix is removing the forced lint.check <check_debug_loc>.
  The lowlevel_checks pass takes care of validating any present sections.
  In this case .debug_loc isn't there, yet the check needs to run.
- and add a test case for this.

14 years agodwarflint: --list-checks now lists options associated with check passes
Petr Machata [Fri, 24 Sep 2010 16:41:40 +0000 (18:41 +0200)] 
dwarflint: --list-checks now lists options associated with check passes

14 years agodwarflint: Rename local options to include the check pass prefix
Petr Machata [Fri, 24 Sep 2010 16:11:26 +0000 (18:11 +0200)] 
dwarflint: Rename local options to include the check pass prefix
- The original intention was that this is added automatically, but perhaps
  the better way to handle it is to make it easy to pick whatever name one
  wishes.  Short options will share namespace anyway, so one has to be
  careful with their naming anyway.

14 years agodwarflint: Recognize options local to check
Petr Machata [Fri, 24 Sep 2010 14:00:28 +0000 (16:00 +0200)] 
dwarflint: Recognize options local to check

14 years agodwarflint: Only toplevel option pack should have description
Petr Machata [Thu, 23 Sep 2010 18:00:39 +0000 (20:00 +0200)] 
dwarflint: Only toplevel option pack should have description

14 years agodwarflint: Better description of options in locstats
Petr Machata [Thu, 23 Sep 2010 17:55:57 +0000 (19:55 +0200)] 
dwarflint: Better description of options in locstats

14 years agodwarflint: Show check-local options in --help
Petr Machata [Thu, 23 Sep 2010 17:55:25 +0000 (19:55 +0200)] 
dwarflint: Show check-local options in --help
- They are still not properly recognized
- And name mangling isn't implemented

14 years agodwarflint: Don't assume all options are global
Petr Machata [Thu, 23 Sep 2010 16:00:36 +0000 (18:00 +0200)] 
dwarflint: Don't assume all options are global
- currently this breaks dwarflint, because per-check options are not yet
  processed.  Options that belonged to global group before still work and
  are correctly registered as globals, but e.g. -i or the suite of options
  at locstats aren't recognized.

14 years agodwarflint: Get rid of low.h/low.c
Petr Machata [Wed, 22 Sep 2010 14:48:50 +0000 (16:48 +0200)] 
dwarflint: Get rid of low.h/low.c
- and rename misc.h to misc.hh

14 years agodwarflint: Getting rid of compat C bindings
Petr Machata [Wed, 22 Sep 2010 14:23:39 +0000 (16:23 +0200)] 
dwarflint: Getting rid of compat C bindings

14 years agodwarflint: Move much of the rest of low.h to where it belongs
Petr Machata [Tue, 21 Sep 2010 21:32:43 +0000 (23:32 +0200)] 
dwarflint: Move much of the rest of low.h to where it belongs

14 years agodwarflint: Move abbrev-related data structures to check_debug_abbrev
Petr Machata [Tue, 21 Sep 2010 20:47:34 +0000 (22:47 +0200)] 
dwarflint: Move abbrev-related data structures to check_debug_abbrev

14 years agodwarflint: More moving stuff around
Petr Machata [Tue, 21 Sep 2010 20:29:05 +0000 (22:29 +0200)] 
dwarflint: More moving stuff around

14 years agodwarflint: New module checked_read
Petr Machata [Tue, 21 Sep 2010 20:13:26 +0000 (22:13 +0200)] 
dwarflint: New module checked_read
- a bunch of functions that I couldn't place just right are there

14 years agodwarflint: Drop unused declarations
Petr Machata [Tue, 21 Sep 2010 19:53:45 +0000 (21:53 +0200)] 
dwarflint: Drop unused declarations

14 years agodwarflint: check_range_relocations should rather be in check_debug_loc_range
Petr Machata [Tue, 21 Sep 2010 19:51:22 +0000 (21:51 +0200)] 
dwarflint: check_range_relocations should rather be in check_debug_loc_range

14 years agodwarflint: Move read_rel and check_range_relocations to reloc module
Petr Machata [Tue, 21 Sep 2010 19:19:16 +0000 (21:19 +0200)] 
dwarflint: Move read_rel and check_range_relocations to reloc module

14 years agodwarflint: Move check_aranges_structural to check_debug_aranges
Petr Machata [Tue, 21 Sep 2010 19:02:16 +0000 (21:02 +0200)] 
dwarflint: Move check_aranges_structural to check_debug_aranges

14 years agodwarflint: Move check_zero_padding to read_ctx module
Petr Machata [Tue, 21 Sep 2010 18:30:40 +0000 (20:30 +0200)] 
dwarflint: Move check_zero_padding to read_ctx module
- and promote the reporting part back to callers

14 years agodwarflint: Move read_address_size to read_ctx module
Petr Machata [Tue, 21 Sep 2010 16:41:13 +0000 (18:41 +0200)] 
dwarflint: Move read_address_size to read_ctx module
- and shuffle arguments around so it makes sense

14 years agodwarflint: Move read_size_extra to readctx module
Petr Machata [Tue, 21 Sep 2010 16:09:54 +0000 (18:09 +0200)] 
dwarflint: Move read_size_extra to readctx module

14 years agodwarflint: Add DIE classification categories "mutable" and "immutable"
Petr Machata [Mon, 20 Sep 2010 22:28:20 +0000 (00:28 +0200)] 
dwarflint: Add DIE classification categories "mutable" and "immutable"
- however I guess the better thing to do would be to dump how big part
  of a scope is mutable vs. immutable, or something like that

14 years agodwarflint: Fix classification of no_coverage DIEs
Petr Machata [Mon, 20 Sep 2010 22:26:17 +0000 (00:26 +0200)] 
dwarflint: Fix classification of no_coverage DIEs

14 years agodwarflint: Implement reading DW_FORM_ref_addr forms
Petr Machata [Mon, 20 Sep 2010 19:41:44 +0000 (21:41 +0200)] 
dwarflint: Implement reading DW_FORM_ref_addr forms
- Patch by Jakub Jelinek

14 years agoIn dwarf-opcodes.h, add DW_OP_GNU_implicit_pointer and fix DW_OP_call_ref
Petr Machata [Mon, 20 Sep 2010 19:40:06 +0000 (21:40 +0200)] 
In dwarf-opcodes.h, add DW_OP_GNU_implicit_pointer and fix DW_OP_call_ref
- patch by Jakub Jelinek

14 years agodwarflint: Add a possibility to distinguish sharp 0 coverage to locstats pass
Petr Machata [Mon, 20 Sep 2010 19:35:44 +0000 (21:35 +0200)] 
dwarflint: Add a possibility to distinguish sharp 0 coverage to locstats pass

14 years agodwarflint: Add a description of locstats
Petr Machata [Fri, 17 Sep 2010 16:40:55 +0000 (18:40 +0200)] 
dwarflint: Add a description of locstats

14 years agodwarflint: Add an option to recognize inlined subroutines
Petr Machata [Fri, 17 Sep 2010 16:09:50 +0000 (18:09 +0200)] 
dwarflint: Add an option to recognize inlined subroutines

14 years agodwarflint: Add more options for ignoring and dumping dies to locstat
Petr Machata [Fri, 17 Sep 2010 15:31:54 +0000 (17:31 +0200)] 
dwarflint: Add more options for ignoring and dumping dies to locstat
- these are probably mostly useful for myself as I'm trying to find out
  what's really missing the info and what doesn't need one it the first
  place, but why not allow others to do the tinkering too...

14 years agodwarflint: Exclude any location list entries whose expression is empty
Petr Machata [Fri, 17 Sep 2010 11:53:22 +0000 (13:53 +0200)] 
dwarflint: Exclude any location list entries whose expression is empty

14 years agodwarflint: In all_dies_iterator, replace parent () with stack ()
Petr Machata [Thu, 16 Sep 2010 22:52:14 +0000 (00:52 +0200)] 
dwarflint: In all_dies_iterator, replace parent () with stack ()
- use it in locstats to find the nearest parental DIE with non-empty ranges

14 years agodwarflint: First stab at location/value stats
Petr Machata [Thu, 16 Sep 2010 20:41:51 +0000 (22:41 +0200)] 
dwarflint: First stab at location/value stats
- things will change, some parts of the proposal are not yet implemented

14 years agodwarflint: Publish C dwarf pointer in high-level checks
Petr Machata [Thu, 16 Sep 2010 20:38:16 +0000 (22:38 +0200)] 
dwarflint: Publish C dwarf pointer in high-level checks

14 years agodwarflint: Add the ability to query the die parent in all_dies_iterator
Petr Machata [Wed, 15 Sep 2010 21:31:56 +0000 (23:31 +0200)] 
dwarflint: Add the ability to query the die parent in all_dies_iterator

14 years agodwarflint: Only warn about unused rules if we had a chance to match them
Petr Machata [Wed, 15 Sep 2010 21:31:18 +0000 (23:31 +0200)] 
dwarflint: Only warn about unused rules if we had a chance to match them

14 years agodwarflint: Coding style nits
Petr Machata [Wed, 15 Sep 2010 19:56:26 +0000 (21:56 +0200)] 
dwarflint: Coding style nits

14 years agodwarflint: Warn about --check rules that never match
Petr Machata [Wed, 15 Sep 2010 18:32:23 +0000 (20:32 +0200)] 
dwarflint: Warn about --check rules that never match

14 years agodwarflint: Extract checkrule into module of its own
Petr Machata [Wed, 15 Sep 2010 18:13:43 +0000 (20:13 +0200)] 
dwarflint: Extract checkrule into module of its own

14 years agoMerge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf
Petr Machata [Wed, 15 Sep 2010 13:56:00 +0000 (15:56 +0200)] 
Merge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf

14 years agoOnly run low-level checks in dwarflint self-check
Petr Machata [Wed, 15 Sep 2010 13:55:10 +0000 (15:55 +0200)] 
Only run low-level checks in dwarflint self-check

The reason being that high-level checks do and always have emitted a lot
of output, mainly for big c++ binaries.  The low-level checks should
generally pass, and even if there are nits here and there, they should be
minor and shouldn't flood the terminal.

14 years agoMerge commit 'elfutils-0.149' into dwarf
Roland McGrath [Wed, 15 Sep 2010 01:43:11 +0000 (18:43 -0700)] 
Merge commit 'elfutils-0.149' into dwarf

14 years agodwarflint: Make it possible to define relevant options directly at checks
Petr Machata [Tue, 14 Sep 2010 21:05:58 +0000 (23:05 +0200)] 
dwarflint: Make it possible to define relevant options directly at checks

14 years agodwarflint: And add the description
Petr Machata [Tue, 14 Sep 2010 14:35:03 +0000 (16:35 +0200)] 
dwarflint: And add the description

14 years agodwarflint: Add a test for nodebug check
Petr Machata [Tue, 14 Sep 2010 14:30:14 +0000 (16:30 +0200)] 
dwarflint: Add a test for nodebug check

14 years agodwarflint: Check for missind debuginfo sections separately
Petr Machata [Tue, 14 Sep 2010 14:14:17 +0000 (16:14 +0200)] 
dwarflint: Check for missind debuginfo sections separately

14 years agodwarflint: Fix test case
Petr Machata [Tue, 14 Sep 2010 12:35:25 +0000 (14:35 +0200)] 
dwarflint: Fix test case
- now that we run the low-level checks as prerequisite of high-level ones,
  we also get low-level errors in testsuite passes.  One more reason to
  implement some sensible message filtering command line options.

14 years agodwarflint: Move secinfo_map initiazitaion into ctor, avoid macros
Petr Machata [Tue, 14 Sep 2010 12:34:11 +0000 (14:34 +0200)] 
dwarflint: Move secinfo_map initiazitaion into ctor, avoid macros
- and reindent two statements below where it's instantiated
- and add a documentation to the section_name array