Commit Graph

1 Commits

Author SHA1 Message Date
Jordan Rose
dd2ebac40e [ClangImporter] Add missing end-iterator check in Clang diag emission (#15006)
This caused non-deterministic crashes when a high number of modules
containing diagnostics were compiled for the first time. The 9-entry
test case results in a crash on 64-bit macOS when run under Guard
Malloc without this change.

rdar://problem/33515925
2018-03-06 08:49:09 -08:00