From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 6780538582BA for ; Fri, 8 Jul 2022 18:41:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6780538582BA Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-125-wlAteHCtMkuqrrI1ALM-wQ-1; Fri, 08 Jul 2022 14:40:59 -0400 X-MC-Unique: wlAteHCtMkuqrrI1ALM-wQ-1 Received: by mail-qk1-f200.google.com with SMTP id q184-20020a378ec1000000b006b14460be35so21921552qkd.22 for ; Fri, 08 Jul 2022 11:40:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=lx+rT9nL9fqbXo0ow1Jhnpxm2HB7bLGf0L6Xa2wmIzI=; b=I9Y4vEV3Y5b6TztCcEJ3A54m93bhmu2QpuWNXE00BlZT2GEKfLeHs3RGG+9WnnOJcC kdJNvVYBdvL55XCLQWRnd3mJCizFV7xZ+GEC+ZWBK9zo69ZxaCsMrU+HbmICzQ+VfxxH y64p+QNDNxretYYzeeJg7gKAoS3fICuWuAh5z95hDdVgDmrOtwKvarHiWPwguhzzfDdP UIn02QeDG9I33WHYLCgYHyjl6jE/pGj75TMe3wRdwujFMReyDvpsqjwlmIyP40WbkkyK WleWbkHknIJwosikcZnFbLwgK8w4x6PhotYb7EfbjYTQaaTlX9FZ2aXlN5ebhucddnnS rwjg== X-Gm-Message-State: AJIora+58glSuI3RNPcUj3LBWfBLKyjcxth7x/Y9R4M4aAqmaqDXu57+ ymqCbcU6qwLmCKdBtgFpMgDUGCaYyxoTiBVxEfKMH28bUzeIBO8Mos6nRLUvUl1vG61sTkfdW7V Xrgi6zm0hTkcYLxZHe9bDIvlSWvhfOGf84KbY3UFfaLg1GXsWMXsQBsFeJPZAkt2NV+/d5g== X-Received: by 2002:ac8:7f41:0:b0:31d:3454:6dfa with SMTP id g1-20020ac87f41000000b0031d34546dfamr4362841qtk.14.1657305658966; Fri, 08 Jul 2022 11:40:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tp0xEVWGhydTTukyAXB5haHAnxCSi/Q6zZmkc07pNsz0XffJVjKxsH+VF3PDPzAUz3SMQUSg== X-Received: by 2002:ac8:7f41:0:b0:31d:3454:6dfa with SMTP id g1-20020ac87f41000000b0031d34546dfamr4362768qtk.14.1657305657643; Fri, 08 Jul 2022 11:40:57 -0700 (PDT) Received: from t14s.localdomain (c-73-69-212-193.hsd1.ma.comcast.net. [73.69.212.193]) by smtp.gmail.com with ESMTPSA id hj5-20020a05622a620500b00304fe5247bfsm28135343qtb.36.2022.07.08.11.40.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jul 2022 11:40:57 -0700 (PDT) Message-ID: <1ee84c626469c0660a91a50b70fd68c0fe56195a.camel@redhat.com> Subject: Re: [PATCH 00/12] RFC: Replay of serialized diagnostics From: David Malcolm To: gcc-patches@gcc.gnu.org Date: Fri, 08 Jul 2022 14:40:55 -0400 In-Reply-To: <20220622223447.2462880-1-dmalcolm@redhat.com> References: <20220622223447.2462880-1-dmalcolm@redhat.com> User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2022 18:41:06 -0000 On Wed, 2022-06-22 at 18:34 -0400, David Malcolm wrote: > We currently have a couple of formats into which our diagnostics can > be serialized: (a) gcc's own json format and (b) SARIF, via: > >   -fdiagnostics-format=json-stderr (and -fdiagnostics-format=json) >   -fdiagnostics-format=json-file >   -fdiagnostics-format=sarif-stderr >   -fdiagnostics-format=sarif-file > > This experimental patch kit implements the ability for GCC to > replay these serialized diagnostics - and thus to use GCC's diagnostic > printing machinery to print the output of any tool that can write to > these formats. [...snip...] This kit should refer to PR other/96032, fwiw: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96032 Dave