r174560 - Introduce -fmodules-ignore-macro=NNN to ignore a macro when building/loading modules.
dgregor at apple.com
Wed Feb 6 16:22:51 PST 2013
On Feb 6, 2013, at 4:22 PM, Jordan Rose <jordan_rose at apple.com> wrote:
> On Feb 6, 2013, at 16:21 , Douglas Gregor <dgregor at apple.com> wrote:
>> Author: dgregor
>> Date: Wed Feb 6 18:21:12 2013
>> New Revision: 174560
>> URL: http://llvm.org/viewvc/llvm-project?rev=174560&view=rev
>> Introduce -fmodules-ignore-macro=NNN to ignore a macro when building/loading modules.
>> The use of this flag enables a modules optimization where a given set
>> of macros can be labeled as "ignored" by the modules
>> system. Definitions of those macros will be completely ignored when
>> building the module hash and will be stripped when actually building
>> modules. The overall effect is that this flag can be used to
>> drastically reduce the number of
… distinct module files we build.
More information about the cfe-commits