Skip to content
Commit eed2dc57 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

[PathV2] In llvm::sys::fs::unique_file, make sure it doesn't fall into an...

[PathV2] In llvm::sys::fs::unique_file, make sure it doesn't fall into an infinite loop by constantly trying
to create the parent path.

This can happen if the path is a relative filename and the current directory was removed.
Thanks to Daniel D. for the hint in fixing it.

llvm-svn: 176226
parent 1e55d8c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment