From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id 2667D3858C5E for ; Tue, 1 Nov 2022 20:11:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2667D3858C5E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-x52d.google.com with SMTP id 20so14386991pgc.5 for ; Tue, 01 Nov 2022 13:11:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=kYaOn4ntoM3qUFeWf6w10viPIx+xEIMIHd16hjnbQZY=; b=H//weM4jp/HCV9E0F924hKdrbtwVgNvJN2gMBuG9SQnIWdRouNDDhLySSsKz9mG9Nq 0voHoHOgR9pGrSsJ8pKO8g9P8uA5wiT//+DrDA1VUoxzYzvqprJptiSAno1YqtgE8hPv p1BDhji0k1CIFvt/PrWQNqt/frx1zWm8/P0WMOm0IrhYvT2vtfHWs2vAyK13v6XtSXl8 DAJImKbYOdL5C6Yx/f/UhnZK769q8l9P4V/bfwDj7gkKz+9c+eC8yd9TBhbfKCu/zxZ3 i3m+BTZ8ZNYCmIBSvjpEGUFac64MVpBkJFgz4jc7CdAeGSRal+wcc3jBSJ5IhYBsgZBh i82w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=kYaOn4ntoM3qUFeWf6w10viPIx+xEIMIHd16hjnbQZY=; b=e9RdbyK1WYvI/G9nYboy7G2qr8hs0W/kj5Wv+E25KSApO2D57jA2AFHrd2at+RHG6C pGczTACF5JPp2WxM7am2o/1EqlfWYi7xXW4QbUSEiWUfmh/xjlG2PfUSpyusjwejucte H0eWQ6sUUsTVdAyHxjXWDLER9Jd9V1v6tqMj49fuaAX9eLRwPczG0TjHYbJ69Q7Zv30L Gg04VT5fGw+eHbcKaUkI5nvijkyIahm3a5kjip+BnrMoI5BvyzjypZyek5/uKiuJHpO3 JHqsBktcginW3nhQoqFJoUtwTOV9jsWqyo2j/dIKNvmZ+rGA9OAht4Nw63GUCFj1w/gt 7LOQ== X-Gm-Message-State: ACrzQf3fobbZgM5YBp63PlDKK+FpF3r95HcYUiCK0pZuzOWSrn2LGZtY 3lYB/gjt5ZLvYeZXC3b5JGs= X-Google-Smtp-Source: AMsMyM7AvfaZ4wMc/S7E4TAXsxuM8D+UWT2myB50uxC0QPHDUWrKLsYfUY6VtSKpi5XH4N+F5c0JKg== X-Received: by 2002:aa7:9629:0:b0:56c:8c22:6d70 with SMTP id r9-20020aa79629000000b0056c8c226d70mr21491829pfg.8.1667333476798; Tue, 01 Nov 2022 13:11:16 -0700 (PDT) Received: from ?IPV6:2601:681:8600:13d0::f0a? ([2601:681:8600:13d0::f0a]) by smtp.gmail.com with ESMTPSA id m6-20020a170902db0600b0017c19d7c89bsm6751334plx.269.2022.11.01.13.11.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Nov 2022 13:11:16 -0700 (PDT) Message-ID: <6a8ad344-22f1-4ca5-9254-7a9ccc952737@gmail.com> Date: Tue, 1 Nov 2022 14:11:14 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH] gcc: honour -ffile-prefix-map in ASM_MAP [PR93371] Content-Language: en-US To: Rasmus Villemoes , gcc-patches@gcc.gnu.org Cc: Vagrant Cascadian References: <20220829092917.477788-1-rv@rasmusvillemoes.dk> From: Jeff Law In-Reply-To: <20220829092917.477788-1-rv@rasmusvillemoes.dk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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 8/29/22 03:29, Rasmus Villemoes wrote: > -ffile-prefix-map is supposed to be a superset of -fmacro-prefix-map > and -fdebug-prefix-map. However, when building .S or .s files, gas is > not called with the appropriate --debug-prefix-map option when > -ffile-prefix-map is used. > > While the user can specify -fdebug-prefix-map when building assembly > files via gcc, it's more ergonomic to also support -ffile-prefix-map; > especially since for .S files that could contain the __FILE__ macro, > one would then also have to specify -fmacro-prefix-map. > > gcc: > PR driver/93371 > * gcc.cc (ASM_MAP): Honour -ffile-prefix-map. OK.  Sorry for the long delay. jeff