[Lldb-commits] [PATCH] D85890: [lldb] Get lldb-server platform's --socket-file working again
Raphael Isemann via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 17 01:29:29 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc57ea1b48f26: [lldb] Get lldb-server platform's --socket-file working again (authored by teemperor).
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85890/new/
https://reviews.llvm.org/D85890
Files:
lldb/tools/lldb-server/lldb-platform.cpp
Index: lldb/tools/lldb-server/lldb-platform.cpp
===================================================================
--- lldb/tools/lldb-server/lldb-platform.cpp
+++ lldb/tools/lldb-server/lldb-platform.cpp
@@ -104,11 +104,12 @@
llvm::SmallString<64> temp_file_path;
temp_file_spec.AppendPathComponent("port-file.%%%%%%");
+ temp_file_path = temp_file_spec.GetPath();
Status status;
if (auto Err =
handleErrors(llvm::writeFileAtomically(
- temp_file_path, temp_file_spec.GetPath(), socket_id),
+ temp_file_path, file_spec.GetPath(), socket_id),
[&status, &file_spec](const AtomicFileWriteError &E) {
std::string ErrorMsgBuffer;
llvm::raw_string_ostream S(ErrorMsgBuffer);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85890.285935.patch
Type: text/x-patch
Size: 827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200817/898f01cb/attachment.bin>
More information about the lldb-commits
mailing list