From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 34736 invoked by alias); 1 Apr 2018 00:04:57 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 34708 invoked by uid 89); 1 Apr 2018 00:04:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.2 required=5.0 tests=BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy= X-HELO: barracuda.ebox.ca Received: from barracuda.ebox.ca (HELO barracuda.ebox.ca) (96.127.255.19) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 01 Apr 2018 00:04:54 +0000 X-ASG-Debug-ID: 1522541085-0c856e618a74eb30001-fS2M51 Received: from smtp.ebox.ca (smtp.electronicbox.net [96.127.255.82]) by barracuda.ebox.ca with ESMTP id 4gD2e1UYNBSxBapH (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 31 Mar 2018 20:04:45 -0400 (EDT) X-Barracuda-Envelope-From: simon.marchi@polymtl.ca X-Barracuda-RBL-Trusted-Forwarder: 96.127.255.82 Received: from simark.lan (unknown [192.222.164.54]) by smtp.ebox.ca (Postfix) with ESMTP id 7C4A4441B21; Sat, 31 Mar 2018 20:04:45 -0400 (EDT) From: Simon Marchi X-Barracuda-Effective-Source-IP: 192-222-164-54.qc.cable.ebox.net[192.222.164.54] X-Barracuda-Apparent-Source-IP: 192.222.164.54 X-Barracuda-RBL-IP: 192.222.164.54 To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH 0/5] Random dwarf2read.c improvements Date: Sun, 01 Apr 2018 00:04:00 -0000 X-ASG-Orig-Subj: [PATCH 0/5] Random dwarf2read.c improvements Message-Id: <20180401000444.13490-1-simon.marchi@polymtl.ca> X-Barracuda-Connect: smtp.electronicbox.net[96.127.255.82] X-Barracuda-Start-Time: 1522541085 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://96.127.255.19:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 650 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=8.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.49475 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-IsSubscribed: yes X-SW-Source: 2018-04/txt/msg00000.txt.bz2 I had these changes in a branch, I though I would post them on their own, instead of part of a more complex series. Simon Marchi (5): Remove some unused variables in dwarf2read.c Replace dw2_get_cu/dw2_get_cutu with methods of dwarf2_per_objfile Remove some usages of get_dwarf2_per_objfile Make dwarf2_per_objfile::all_comp_units an std::vector Make dwarf2_per_objfile::all_type_units an std::vector gdb/dwarf-index-write.c | 29 ++- gdb/dwarf2read.c | 459 +++++++++++++++++------------------------------- gdb/dwarf2read.h | 42 +++-- 3 files changed, 203 insertions(+), 327 deletions(-) -- 2.16.3