[Lldb-commits] [lldb] 2411f56 - [lldb/Host] Fix the Windows build
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 12 15:31:17 PDT 2020
Author: Jonas Devlieghere
Date: 2020-03-12T15:31:09-07:00
New Revision: 2411f56bfd1c36f30239c832b75e094d927ee219
URL: https://github.com/llvm/llvm-project/commit/2411f56bfd1c36f30239c832b75e094d927ee219
DIFF: https://github.com/llvm/llvm-project/commit/2411f56bfd1c36f30239c832b75e094d927ee219.diff
LOG: [lldb/Host] Fix the Windows build
Update use of ProcessInstanceInfoList which is now a std::vector.
Added:
Modified:
lldb/source/Host/windows/Host.cpp
Removed:
################################################################################
diff --git a/lldb/source/Host/windows/Host.cpp b/lldb/source/Host/windows/Host.cpp
index 28e78885519a..29c96560af25 100644
--- a/lldb/source/Host/windows/Host.cpp
+++ b/lldb/source/Host/windows/Host.cpp
@@ -133,7 +133,7 @@ FileSpec Host::GetModuleFileSpecForHostAddress(const void *host_addr) {
uint32_t Host::FindProcesses(const ProcessInstanceInfoMatch &match_info,
ProcessInstanceInfoList &process_infos) {
- process_infos.Clear();
+ process_infos.clear();
AutoHandle snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0));
if (!snapshot.IsValid())
More information about the lldb-commits
mailing list