[Debugger] Use FileSystem instead of calling openFileForWrite directly.
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 11 Jun 2020 01:12:59 +0000 (18:12 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 11 Jun 2020 01:13:32 +0000 (18:13 -0700)
commit6b2e676555c10201705a3c2e928f3d35d1fa1d4f
tree27271120d434d8fbe85971146871fe75d04c68b2
parent1cf14860db884b48a1a79a9697cc9da40f1ac124
[Debugger] Use FileSystem instead of calling openFileForWrite directly.

This replaces the (only) call to llvm::sys::fs::openFileForWrite with
FileSystem::Open. This guarantees that we include log files in the
reproducers.

Differential revision: https://reviews.llvm.org/D81499
lldb/source/Core/Debugger.cpp