]> granicus.if.org Git - clang/commit
Make modules depend on the compiler's own module.map, as a proxy for the compiler...
authorDouglas Gregor <dgregor@apple.com>
Mon, 22 Jul 2013 20:48:33 +0000 (20:48 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 22 Jul 2013 20:48:33 +0000 (20:48 +0000)
commitb22d19493d479bf3ed6e5e60bfcf7047823da7fc
tree44115cf8e4867aad72bde9583ced814cc5687e8b
parent45ccf286af684ab40c2e4d6dd667e2c2e26946bf
Make modules depend on the compiler's own module.map, as a proxy for the compiler itself.

The headers in the compiler's own resource include directory are
system headers, which means we don't stat() them eagerly when loading
a module. Use module.map as a proxy for these headers and the compiler
itself. Fixes <rdar://problem/13856838>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186870 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/ASTWriter.h
lib/Serialization/ASTWriter.cpp