]> git.ipfire.org Git - thirdparty/elfutils.git/commit
dwarflint: Add check_die_tree pass for generic per-DIE checks
authorPetr Machata <pmachata@redhat.com>
Thu, 24 Mar 2011 16:44:12 +0000 (17:44 +0100)
committerPetr Machata <pmachata@redhat.com>
Mon, 28 Mar 2011 14:03:00 +0000 (16:03 +0200)
commitcb50be35ea31a28a98640b33e1629138749ffd83
tree4518c992fa0e463e7fd9d9fa0fb5a2e07f5e6bc3
parent86a4c3e51f26ff72156ced7f8a1334f19d66b25f
dwarflint: Add check_die_tree pass for generic per-DIE checks

- add reg_die_check for registering per-DIE check passes
- turn check_registrar into a template to allow reuse among reg<> and
  reg_die_check<>
- the per-DIE checking magic is in check_die_tree.hh
- hide most of checks.hh into dwarflint.cc.  That has little to do
  with per-DIE checks as such, but was a necessary cleanup
18 files changed:
dwarflint/Makefile.am
dwarflint/all-dies-it.hh
dwarflint/check_die_tree.cc [new file with mode: 0644]
dwarflint/check_die_tree.hh [new file with mode: 0644]
dwarflint/check_die_tree.ii [new file with mode: 0644]
dwarflint/check_registrar.cc [new file with mode: 0644]
dwarflint/check_registrar.hh [moved from dwarflint/checks.cc with 50% similarity]
dwarflint/check_registrar.ii [new file with mode: 0644]
dwarflint/checkdescriptor.cc
dwarflint/checkdescriptor.hh
dwarflint/checks.hh
dwarflint/checks.ii
dwarflint/dwarflint.cc
dwarflint/dwarflint.hh
dwarflint/dwarflint.ii
dwarflint/highlevel_check.hh
dwarflint/main.cc
dwarflint/option.cc