diff options
author | Bob Haarman <llvm@inglorion.net> | 2018-08-02 17:41:38 +0000 |
---|---|---|
committer | Bob Haarman <llvm@inglorion.net> | 2018-08-02 17:41:38 +0000 |
commit | 9b36f51ae7618e2684d54c99fc88a379462dbeec (patch) | |
tree | deaab7995e513db7d1aed7c4389ecd6f9ff4b6e7 /lldb/packages/Python/lldbsuite/test/python_api/process | |
parent | 41d7047de59f9c40067658df900ccc9d58eb7a3e (diff) | |
download | bcm5719-llvm-9b36f51ae7618e2684d54c99fc88a379462dbeec.tar.gz bcm5719-llvm-9b36f51ae7618e2684d54c99fc88a379462dbeec.zip |
[Support] fix TempFile infinite loop and permission denied errors
Summary:
On Windows, TempFile::create() was prone to failing with permission
denied errors when a process created many tempfiles without providing
a model large enough to accommodate them. There was also a problem
with createUniqueEntity getting into an infinite loop when all names
permitted by the model are in use. This change fixes both of these
problems and adds a unit test for them.
Reviewers: pcc, rnk, zturner
Reviewed By: zturner
Subscribers: inglorion, hiraditya, llvm-commits
Differential Revision: https://reviews.llvm.org/D50126
llvm-svn: 338745
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process')
0 files changed, 0 insertions, 0 deletions