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

Ben Langmuir blangmuir at apple.com
Thu Jan 30 16:43:17 PST 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: autolink.patch
Type: application/octet-stream
Size: 10856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140130/a917231e/attachment.obj>


More information about the cfe-commits mailing list