[modules] If loading a .pcm file would cause us to run out of source locations, attem...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 12 Aug 2015 22:25:24 +0000 (22:25 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 12 Aug 2015 22:25:24 +0000 (22:25 +0000)
commit78d81ecfc38c273cde9b4daed155c6c1e042f996
tree9e1ec2d351051f40b6ad3fed27ae1536ef9cb599
parent971dc3a82a018b23d408484e0a0e4482d78dbdc8
[modules] If loading a .pcm file would cause us to run out of source locations, attempt to fail more gracefully. (No test; this requires >= 4GB of preprocessed input...)

llvm-svn: 244822
clang/lib/Basic/SourceManager.cpp
clang/lib/Serialization/ASTReader.cpp