diff options
author | Ben Langmuir <blangmuir@apple.com> | 2014-01-31 01:06:56 +0000 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2014-01-31 01:06:56 +0000 |
commit | 332aafede3985657683b3aa334b72fd5fb05a06f (patch) | |
tree | ec6279b7661af49a918598700d37d83ed03b082d /clang/test/Modules/Inputs/autolink-sub3.pch | |
parent | 4046a30c7345527063036183d2f3aef9a1e1529c (diff) | |
download | bcm5719-llvm-332aafede3985657683b3aa334b72fd5fb05a06f.tar.gz bcm5719-llvm-332aafede3985657683b3aa334b72fd5fb05a06f.zip |
Fix autolinking when modules are imported in pch files
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.
llvm-svn: 200505
Diffstat (limited to 'clang/test/Modules/Inputs/autolink-sub3.pch')
-rw-r--r-- | clang/test/Modules/Inputs/autolink-sub3.pch | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/autolink-sub3.pch b/clang/test/Modules/Inputs/autolink-sub3.pch new file mode 100644 index 00000000000..f63b2d5b25b --- /dev/null +++ b/clang/test/Modules/Inputs/autolink-sub3.pch @@ -0,0 +1 @@ +@import autolink.sub3; |