From patchwork Thu Sep 7 13:39:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dodji Seketeli X-Patchwork-Id: 75438 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A9E783882671 for ; Thu, 7 Sep 2023 13:39:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A9E783882671 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1694093969; bh=/PreSq+0ZUXVu/Nm0qZe8Rs6vYaSPPoBmKJHUVC/mww=; h=To:Cc:Subject:References:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Help:List-Subscribe:From: Reply-To:From; b=sORW+U6UAd3e6XGnziKN+CXamquWzhgYi5U7qqbZA0kfo+S1DmE4gEkU6pdYPSciH NgiGhL/T30bzZ26fpHnaK9op0HhfMr3Qkks2S9C77/r0W03CeOyceRVich677REsWk KbLNoHpFwytOM+ux4/RzzjY/AwAs43o+/KKekQfY= X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 105B43882163 for ; Thu, 7 Sep 2023 13:39:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 105B43882163 Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-10-DiLv3T4YObStroS5CXU_Fg-1; Thu, 07 Sep 2023 09:39:05 -0400 X-MC-Unique: DiLv3T4YObStroS5CXU_Fg-1 Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-76d9d16f4a1so71652585a.1 for ; Thu, 07 Sep 2023 06:39:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694093945; x=1694698745; h=mime-version:user-agent:message-id:in-reply-to:date:references :organization:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/PreSq+0ZUXVu/Nm0qZe8Rs6vYaSPPoBmKJHUVC/mww=; b=dHjgYMTEOCRM91mg5CUEkeyeKCYE/+1iONBqbD8I/Gaj/q6poC2633JWUomXU9sv4T oUXfw6xW5oknwzXIlhcdCQvCyWJIlfVQinsFH2cIwVHhmrJ+opMaRoYQnpLesGkgyhBw MYb04eJcb2vvswXy7DNTCsw7L6gg4v83fJjS00lBnTMtA2cOkidT79wZaelPKhHuQ15J eG2PTnf/JrzLv1PhjkELnHAbj+gp2yZ8m76DLbvf39cbaMW5hqVyp6cDwWfhTB3YMafT huoiZiGp5W6kbWWG6cQ8LtSOaN/oToQZ+9HGxnVrCov5KFU3vUGL8u3Ox3icD947Sqb0 J8kg== X-Gm-Message-State: AOJu0YzM2xDn+Rc27LWBOxqphC4sULSCB6Qr6mhaUghC6tlqojn59bFU gze/dCU4yDf0lomiUBk2SP3w1x89zr6nWGdeCjNlEpCSGmkHQAx7bv8sI+eLmbRKNs+NgcHICqR urJTRIWubv0KlDzwt6DD2 X-Received: by 2002:a05:620a:2908:b0:770:60e6:eb5b with SMTP id m8-20020a05620a290800b0077060e6eb5bmr3417396qkp.37.1694093945156; Thu, 07 Sep 2023 06:39:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEYIXBdjRPW0ejJnfDmyLSI5k9uyaGwz40QY8XW9ygv/aSa85jRSUpqbEzwZG0DdkZzQWqz7Q== X-Received: by 2002:a05:620a:2908:b0:770:60e6:eb5b with SMTP id m8-20020a05620a290800b0077060e6eb5bmr3417384qkp.37.1694093944921; Thu, 07 Sep 2023 06:39:04 -0700 (PDT) Received: from localhost ([88.120.130.27]) by smtp.gmail.com with ESMTPSA id a20-20020a05620a103400b0076cc4610d0asm5787236qkk.85.2023.09.07.06.39.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Sep 2023 06:39:04 -0700 (PDT) Received: by localhost (Postfix, from userid 1000) id D3EC0B4FD2; Thu, 7 Sep 2023 15:39:02 +0200 (CEST) To: Dodji Seketeli Cc: libabigail@sourceware.org Subject: [PATCH 04/16] dwarf-reader: Fix some logging Organization: Red Hat / France References: <87il8mglc1.fsf@redhat.com> X-Operating-System: CentOS Stream release 9 X-URL: http://www.redhat.com Date: Thu, 07 Sep 2023 15:39:02 +0200 In-Reply-To: <87il8mglc1.fsf@redhat.com> (Dodji Seketeli's message of "Thu, 07 Sep 2023 15:32:46 +0200") Message-ID: <87zg1yf6h5.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-Patchwork-Original-From: Dodji Seketeli via Libabigail From: Dodji Seketeli Reply-To: Dodji Seketeli Errors-To: libabigail-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libabigail" Hello, * src/abg-dwarf-reader.cc (reader::{read_debug_info_into_corpus, canonicalize_types_scheduled}): Add missing new lines and spaces. Signed-off-by: Dodji Seketeli Applied to master. --- src/abg-dwarf-reader.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/abg-dwarf-reader.cc b/src/abg-dwarf-reader.cc index 180c1ade..6e472d3a 100644 --- a/src/abg-dwarf-reader.cc +++ b/src/abg-dwarf-reader.cc @@ -2184,7 +2184,7 @@ public: tools_utils::timer t; if (do_log()) { - cerr << "building the libabigail internal representation ..."; + cerr << "building the libabigail internal representation ...\n"; t.start(); } // And now walk all the DIEs again to build the libabigail IR. @@ -2216,8 +2216,9 @@ public: if (do_log()) { t.stop(); - cerr << " DONE@" << corpus()->get_path() - << ":" + cerr << "building the libabigail internal representation " + << "DONE for corpus << corpus()->get_path()" + << " in :" << t << "\n"; @@ -2308,9 +2309,9 @@ public: if (do_log()) { t.stop(); - cerr << "late type canonicalizing DONE@" + cerr << "late type canonicalizing DONE for " << corpus()->get_path() - << ":" + << " in :" << t << "\n"; } @@ -4595,10 +4596,10 @@ public: tools_utils::timer cn_timer; if (do_log()) { - cerr << "going to canonicalize types"; + cerr << "DWARF Reader is going to canonicalize types"; corpus_sptr c = corpus(); if (c) - cerr << " of corpus " << corpus()->get_path(); + cerr << " of corpus " << corpus()->get_path() << "\n"; cn_timer.start(); }