<rdar://problem/13615607> Include SDK version information in the module hash.
authorDouglas Gregor <dgregor@apple.com>
Fri, 12 Apr 2013 00:18:53 +0000 (00:18 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 12 Apr 2013 00:18:53 +0000 (00:18 +0000)
commitc9be4734d68954b226aab349a08cdd89053f095a
treed6a28e106ada2f0d94b8ba7f37c27dbf4b6a8cf8
parentecf132057979bd5e0d005d042ffcf6fcffbcff22
<rdar://problem/13615607> Include SDK version information in the module hash.

This is a Darwin-SDK-specific hash criteria used to identify a
particular SDK without having to hash the contents of all of its
headers. If other platforms have such versioned files, we should add
those checks here.

llvm-svn: 179346
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Modules/system_version.m [new file with mode: 0644]