[Lldb-commits] [lldb] e00f227 - [lldb][FreeBSD] fix i386 size_t error when using LLDB_LOGF (#68210)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 4 05:12:32 PDT 2023
Author: aokblast
Date: 2023-10-04T08:12:27-04:00
New Revision: e00f2272d640ad5e8eda8982cd616d3ae56036b7
URL: https://github.com/llvm/llvm-project/commit/e00f2272d640ad5e8eda8982cd616d3ae56036b7
DIFF: https://github.com/llvm/llvm-project/commit/e00f2272d640ad5e8eda8982cd616d3ae56036b7.diff
LOG: [lldb][FreeBSD] fix i386 size_t error when using LLDB_LOGF (#68210)
Added:
Modified:
lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/DynamicLoaderFreeBSDKernel.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/DynamicLoaderFreeBSDKernel.cpp b/lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/DynamicLoaderFreeBSDKernel.cpp
index bbb83ff0a118400..a1bf8efb064b614 100644
--- a/lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/DynamicLoaderFreeBSDKernel.cpp
+++ b/lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/DynamicLoaderFreeBSDKernel.cpp
@@ -536,7 +536,7 @@ bool DynamicLoaderFreeBSDKernel::ParseKmods(Address linker_files_head_addr) {
return false;
LLDB_LOGF(
log,
- "Kmod-changed breakpoint hit, there are %lu kernel modules currently.\n",
+ "Kmod-changed breakpoint hit, there are %zu kernel modules currently.\n",
linker_files_list.size());
ModuleList &modules = m_process->GetTarget().GetImages();
More information about the lldb-commits
mailing list