diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-04-29 10:16:28 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-04-29 10:16:28 +0000 |
commit | 027163e98bd6b107fa2cc31a2456d9703b83e347 (patch) | |
tree | 2db87ee7a6013bfd2b463e6d138316aed5ea3bd2 /clang/lib/Sema/Sema.cpp | |
parent | 07b79c24c77ffbe73de920c592df9bcf7bc5104a (diff) | |
download | bcm5719-llvm-027163e98bd6b107fa2cc31a2456d9703b83e347.tar.gz bcm5719-llvm-027163e98bd6b107fa2cc31a2456d9703b83e347.zip |
[find-all-symbols] Fix racy yaml file writing.
If multiple find-all-symbols processes access the temporary directory
simultaneously with two files with the same name they would collide and
create a broken yaml file. Fix this by using the safe createUniqueFile
API from LLVM instead.
Differential Revision: http://reviews.llvm.org/D19717
llvm-svn: 268021
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
0 files changed, 0 insertions, 0 deletions