Commit Graph

2 Commits

Author SHA1 Message Date
Dmitri Hrybenko
f9290896cd SwiftShims: restore compatibility with Clang < 3.5 as a host compiler
Swift SVN r23233
2014-11-11 07:52:53 +00:00
Dmitri Hrybenko
af9515d754 Break a circular dependency between SwiftShims and the Darwin module
stdint.h and stddef.h are shipped with CLang, but they not included in
Clang's module.map, which causes Clang to import libc versions instead
(and Clang's stdint.h is dispatching to libc).  This was causing
hard-to-debug transient failures during incremental rebuilds, like this:

error: module file was created by an older version of the compiler: .../Darwin.swiftmodule

Swift SVN r23230
2014-11-11 02:26:06 +00:00