From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by sourceware.org (Postfix) with ESMTPS id 2637F3858D33 for ; Fri, 3 Mar 2023 12:49:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2637F3858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rasmusvillemoes.dk Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rasmusvillemoes.dk Received: by mail-lf1-x12b.google.com with SMTP id bi9so3467105lfb.2 for ; Fri, 03 Mar 2023 04:49:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; t=1677847775; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=EsbVOoJn2C/17HSOxyMgBGodaTbVDmCKTI7Tko7wrnc=; b=ZPqIxKZh6JbBq7XHHhSM9G4Uh8vOBVFeD0vohJvu1cu1nRGGBgyzYQGdHgLU+Fweom oPR8tCx1rEpdVqUDECXxuCzaRHcmTi6Gz9KujK+51FfOU096OlxGIg6cDKYBTzoPrrWi FDQBcrHHAHhfNqpxSLmiCFSpuj8f0QDLf9f38= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677847775; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EsbVOoJn2C/17HSOxyMgBGodaTbVDmCKTI7Tko7wrnc=; b=IzbmZv9LSNBZt+7T2bbGlnvt5zJaCU3rlnHd2PAsO733SRH97JEsxPCXZxZFYvRoGZ LmIozc/8zybA7rLnD7xC4oK3aq7g9oNjTzwteUqYEvjbvf01AKJVudNFK5dsEp3bEUXv /mZ9Epdjv8BlSi/NUcBHxcvdDVrkoKF3I1q8fibTRXZe2G8jY1kjaAp/UuxcnRhCzARy QOYWzYXXMt+n2JXi8GAfj3PKQ9ayraWaSa64vu2cKE4esR7AZq0EEr4H6FEgJJJaa4l/ TJINN97Ixyd6Zunif/8O4vMxY6LYU0/+f5WPVYDLBwIKQCd3fdGFktBVSLPeLTRPbd2w xbcg== X-Gm-Message-State: AO0yUKXHsm8k1hypFFQKM1frHvCnMY1XA4njdIZ7uFAMOAy1w6XjVDOe xamb+2qkiZsg/hFoDl0MGIXpDV/vMrg4oAjUy4Q= X-Google-Smtp-Source: AK7set/qhaIZmO8hTW+WisuzH7lMaJG+u75F+kZn1qooNHp2GaPoEAj6cRNgGeyHLf6TFLtFJKOONg== X-Received: by 2002:a05:6512:24b:b0:4b5:5caf:9d62 with SMTP id b11-20020a056512024b00b004b55caf9d62mr446745lfo.61.1677847775222; Fri, 03 Mar 2023 04:49:35 -0800 (PST) Received: from [172.16.11.74] ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id n19-20020ac242d3000000b004dc4bb914c7sm375218lfl.201.2023.03.03.04.49.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Mar 2023 04:49:34 -0800 (PST) Message-ID: Date: Fri, 3 Mar 2023 13:49:33 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH] apply debug-remap to file names in .su files Content-Language: en-US, da To: gcc-patches@gcc.gnu.org Cc: Jeff Law References: <20230213192700.2013187-1-rasmus.villemoes@prevas.dk> From: Rasmus Villemoes In-Reply-To: <20230213192700.2013187-1-rasmus.villemoes@prevas.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 List-Id: On 13/02/2023 20.27, Rasmus Villemoes wrote: > The .su files generated with -fstack-usage are arguably debug info. In > order to make builds more reproducible, apply the same remapping logic > to the recorded file names as for when producing the debug info > embedded in the object files. > > To this end, teach print_decl_identifier() a new > PRINT_DECL_REMAP_DEBUG flag and use that from output_stack_usage_1(). > ping