]> git.ipfire.org Git - thirdparty/elfutils.git/commit
dwarflint: check_range_out_of_scope should run even on absent .debug_loc
authorPetr Machata <pmachata@redhat.com>
Thu, 30 Sep 2010 12:23:55 +0000 (14:23 +0200)
committerPetr Machata <pmachata@redhat.com>
Thu, 30 Sep 2010 12:23:55 +0000 (14:23 +0200)
commit25770c356d9b856858230c4e09f819cfa3525ef8
treef843139965eaa1781c7d803fbd7e488f95af3d8e
parente966f19d486f4874faced1baac15307e61010b4b
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.
dwarflint/Makefile.am
dwarflint/check_range_out_of_scope.cc
dwarflint/tests/check_range_out_of_scope-1.bz2 [new file with mode: 0755]
dwarflint/tests/run-check_range_out_of_scope.sh [new file with mode: 0755]