From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gateway31.websitewelcome.com (gateway31.websitewelcome.com [192.185.143.38]) by sourceware.org (Postfix) with ESMTPS id 47AB9385E001 for ; Sun, 22 Mar 2020 18:45:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 47AB9385E001 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=tom@tromey.com Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway31.websitewelcome.com (Postfix) with ESMTP id 781911A9FAE9 for ; Sun, 22 Mar 2020 13:45:25 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id G5bBjJdOoXVkQG5bBjaDp3; Sun, 22 Mar 2020 13:45:25 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:MIME-Version :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=FYueNmvsg2dAxuUR4CM57ktukK7W6wH1avxuB1so2VM=; b=Fcwj+NKJNxWOXICi1p7vGaySyL ehU+r9lJNhY83V6WtSa8tNOF+2rZTBQ0CfZEzmV06VM1cQWNeF3GGVvSM9FW6U6GYhVAndZiqbMjS KGzSEJooUnt9ZXfFUOpbv7Y/U; Received: from 97-118-117-21.hlrn.qwest.net ([97.118.117.21]:48304 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1jG5bB-000LNS-6c for gdb-patches@sourceware.org; Sun, 22 Mar 2020 12:45:25 -0600 From: Tom Tromey To: gdb-patches@sourceware.org Subject: [PATCH 00/22] More splitting of dwarf2/read.c Date: Sun, 22 Mar 2020 12:45:01 -0600 Message-Id: <20200322184523.28959-1-tom@tromey.com> X-Mailer: git-send-email 2.17.2 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.118.117.21 X-Source-L: No X-Exim-ID: 1jG5bB-000LNS-6c X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-117-21.hlrn.qwest.net (bapiya.Home) [97.118.117.21]:48304 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-Spam-Status: No, score=4.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, JMQ_SPF_NEUTRAL, RCVD_IN_ABUSEAT, RCVD_IN_DNSWL_NONE, RCVD_IN_SBL_CSS, SPF_HELO_PASS, SPF_NEUTRAL, TXREP, URIBL_CSS, URIBL_CSS_A autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: **** X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2020 18:45:27 -0000 One goal of mine is to split up the DWARF reader code into many smaller, more self-contained files. I think this will make the code easier to read and to work on; and also let us tease out (and repair) hidden dependencies. This latter part is desirable because, in the longer run, I'd like to parallelize DWARF reading. So, here is round 2 of splitting. The main change here is that the macro-reading code is moved to its own file. It's almost possible, after this, to scan macros in a worker thread. (However, dwz file handling, and the recent move to sharing a bcache, interfere with this.) Some smaller utility functions are also moved into other files as well. Let me know what you think, Tom