[prev in list] [next in list] [prev in thread] [next in thread]
List: cfe-dev
Subject: Re: [cfe-dev] Help rewriting the __FILE__ macro
From: Joerg Sonnenberger <joerg () britannica ! bec ! de>
Date: 2012-05-25 16:51:49
Message-ID: 20120525165147.GA4447 () britannica ! bec ! de
[Download RAW message or body]
On Tue, May 22, 2012 at 08:40:44PM +0200, Erik Cederstrand wrote:
> This has been implemented as an "-iremap=src:dst" option for GCC
> (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47047) and applied to GCC
> in NetBSD (http://www.mail-archive.com/source-changes-full@netbsd.org/msg08590.html)
> by Joerg Sonnenberger. 'src' is meant to be the prefix and 'dst' the replacement.
One important note here. The GCC patch is kind of the 80% solution,
because I couldn't easily figure out how to get the rest of the desired
behavior. It works well for non-debug builds, but for clang, it would be
much nicer to consistently apply the transformations to other path
consumers.
Joerg
_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic