From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99926 invoked by alias); 1 Jan 2018 22:59:15 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 99914 invoked by uid 89); 1 Jan 2018 22:59:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*M:stream X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: gnu.wildebeest.org Received: from wildebeest.demon.nl (HELO gnu.wildebeest.org) (212.238.236.112) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 01 Jan 2018 22:59:14 +0000 Received: from stream.wildebeest.org (deer0x13.wildebeest.org [172.31.17.149]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 36622302BB39 for ; Mon, 1 Jan 2018 23:59:11 +0100 (CET) Received: by stream.wildebeest.org (Postfix, from userid 1000) id 8916A102AB6; Mon, 1 Jan 2018 23:59:13 +0100 (CET) Date: Mon, 01 Jan 2018 22:59:00 -0000 From: Mark Wielaard To: elfutils-devel@sourceware.org Subject: Re: Simpler abbrev parsing using less memory Message-ID: <20180101225913.GA14414@stream> References: <20171226193840.27387-1-mark@klomp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171226193840.27387-1-mark@klomp.org> User-Agent: Mutt/1.9.1 (2017-09-22) X-Spam-Flag: NO X-IsSubscribed: yes X-SW-Source: 2018-q1/txt/msg00001.txt.bz2 On Tue, Dec 26, 2017 at 08:38:38PM +0100, Mark Wielaard wrote: > [PATCH 1/2] libdw: New get_uleb128_unchecked to use with already > checked Dwarf_Abbrev. > > So the first patch introduces a get_uleb128_unchecked function that > is used for re-reading such uleb128 values. > > The second patch reduces the size of the struct Dwarf_Abbrev by not > storing the attrcnt and by using bitfields for has_children and code. > > [PATCH 2/2] libdw: Reduce size of struct Dwarf_Abbrev. I pushed both patches to master.