diff options
author | Wei Mi <wmi@google.com> | 2016-04-07 05:27:17 +0000 |
---|---|---|
committer | Wei Mi <wmi@google.com> | 2016-04-07 05:27:17 +0000 |
commit | 979e9756ecbcba1a1b4743048cb1193fb799bd53 (patch) | |
tree | b10bd7b62b30d2748eed5264a4aff2c020697dca /clang/lib/Frontend/ChainedIncludesSource.cpp | |
parent | 41474a52e7ddd0a2f2844d06e7811a69479f3c90 (diff) | |
download | bcm5719-llvm-979e9756ecbcba1a1b4743048cb1193fb799bd53.tar.gz bcm5719-llvm-979e9756ecbcba1a1b4743048cb1193fb799bd53.zip |
Fix the sanitizer bootstrap error in r265547.
The iterators of SmallPtrSet SpillsInSubTreeMap[Child].first may be
invalidated when SpillsInSubTreeMap grows. Rearrange the code to
ensure the grow of SpillsInSubTreeMap only happens before getting
the iterators of the SmallPtrSet.
llvm-svn: 265639
Diffstat (limited to 'clang/lib/Frontend/ChainedIncludesSource.cpp')
0 files changed, 0 insertions, 0 deletions