summaryrefslogtreecommitdiff
path: root/dwarflint/check_debug_aranges.cc
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2010-09-07 23:08:05 +0200
committerPetr Machata <pmachata@redhat.com>2010-09-07 23:08:05 +0200
commita5411525fce00015f6911094b1013f50b16426ae (patch)
treedb07f98ba2312896bebfac9bbfd51f3b061422c6 /dwarflint/check_debug_aranges.cc
parent5ed27fdb82c2b21ca7d7ee2bf7f888e425cd99f0 (diff)
downloadelfutils-a5411525fce00015f6911094b1013f50b16426ae.tar.gz
dwarflint: Add a lowlevel_checks pass
- which is where low-level checks are explicitly requested - and what highlevel checks, also explicitly, depend on
Diffstat (limited to 'dwarflint/check_debug_aranges.cc')
-rw-r--r--dwarflint/check_debug_aranges.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/dwarflint/check_debug_aranges.cc b/dwarflint/check_debug_aranges.cc
index 4d87b402..9918030f 100644
--- a/dwarflint/check_debug_aranges.cc
+++ b/dwarflint/check_debug_aranges.cc
@@ -34,9 +34,7 @@
#include "check_debug_loc_range.hh"
#include "cu_coverage.hh"
-static reg<check_debug_aranges> reg_debug_aranges;
-
-checkdescriptor
+checkdescriptor const *
check_debug_aranges::descriptor ()
{
static checkdescriptor cd
@@ -55,7 +53,7 @@ check_debug_aranges::descriptor ()
" - for zero-length ranges\n"
" - that the ranges cover all the address range covered by CUs\n"
));
- return cd;
+ return &cd;
}
check_debug_aranges::check_debug_aranges (checkstack &stack, dwarflint &lint)