From e53273807454c56ab8de279d3954bfdf0cef9105 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Mon, 5 Oct 2009 21:50:35 +0200 Subject: [PATCH] dwarflint: Drop compilation-breaking stub --- src/dwarflint-hl.cc | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/dwarflint-hl.cc b/src/dwarflint-hl.cc index 6f11b5aa4..2179e2e1b 100644 --- a/src/dwarflint-hl.cc +++ b/src/dwarflint-hl.cc @@ -303,23 +303,3 @@ check_expected_trees (hl_ctx *hlctx) return false; } } - -bool -check_expected_trees (hl_ctx *hlctx) -{ - try - { - class elfutils::dwarf::compile_units const &cus = hlctx->dw.compile_units (); - for (elfutils::dwarf::compile_units::const_iterator it = cus.begin (); - it != cus.end (); ++it) - recursively_validate (*it, *it); - return true; - } - // XXX more specific class when has it - catch (std::runtime_error &exc) - { - wr_error (NULL, "Error while checking expected trees: %s.\n", - exc.what ()); - return false; - } -} -- 2.47.3