[PATCH] Fix auto linking when a module is imported from a pch

Argyrios Kyrtzidis kyrtzidis at apple.com
Thu Jan 30 16:50:49 PST 2014


LGTM!

On Jan 30, 2014, at 4:43 PM, Ben Langmuir <blangmuir at apple.com> wrote:

> Add the ImportDecl to the set of interesting delcarations that are deserialized eagerly when an AST file is loaded (rather than lazily like most decls).  This is required to get auto linking to work when there is no explicit import in the main file.  Also resolve a FIXME to rename 'ExternalDefinitions’, since that is only one of the things that need eager deserialization. The new name is 'EagerlyDeserializedDecls'.  The corresponding AST bitcode is also renamed.
> 
> Ben
> 
> <autolink.patch>





More information about the cfe-commits mailing list