diff options
| author | Petr Machata <[email protected]> | 2010-09-07 23:08:05 +0200 |
|---|---|---|
| committer | Petr Machata <[email protected]> | 2010-09-07 23:08:05 +0200 |
| commit | a5411525fce00015f6911094b1013f50b16426ae (patch) | |
| tree | db07f98ba2312896bebfac9bbfd51f3b061422c6 /dwarflint/sections.hh | |
| parent | 5ed27fdb82c2b21ca7d7ee2bf7f888e425cd99f0 (diff) | |
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/sections.hh')
| -rw-r--r-- | dwarflint/sections.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dwarflint/sections.hh b/dwarflint/sections.hh index bb8c8720..48151ae8 100644 --- a/dwarflint/sections.hh +++ b/dwarflint/sections.hh @@ -33,7 +33,7 @@ class load_sections : public check<load_sections> { public: - static checkdescriptor const &descriptor (); + static checkdescriptor const *descriptor (); elf_file file; load_sections (checkstack &stack, dwarflint &lint); @@ -46,7 +46,7 @@ class section_base sec &get_sec_or_throw (section_id secid); public: - static checkdescriptor const &descriptor (); + static checkdescriptor const *descriptor (); sec § elf_file &file; @@ -65,11 +65,11 @@ class section , public check<section<sec_id> > { public: - static checkdescriptor const &descriptor () { + static checkdescriptor const *descriptor () { static checkdescriptor cd (checkdescriptor::create (section_name[sec_id]) .inherit<section_base> ()); - return cd; + return &cd; } explicit section (checkstack &stack, dwarflint &lint) |
