[Lldb-commits] [lldb] r352116 - [Process/NetBSD] Add missing linkage to -lutil
Michal Gorny via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 24 14:20:47 PST 2019
Author: mgorny
Date: Thu Jan 24 14:20:47 2019
New Revision: 352116
URL: http://llvm.org/viewvc/llvm-project?rev=352116&view=rev
Log:
[Process/NetBSD] Add missing linkage to -lutil
Add missing linkage to fix build failure with LLD:
ld: error: undefined symbol: kinfo_getvmmap
>>> referenced by NativeProcessNetBSD.cpp
>>> NativeProcessNetBSD.cpp.o:(lldb_private::process_netbsd::NativeProcessNetBSD::PopulateMemoryRegionCache()) in archive lib/liblldbPluginProcessNetBSD.a
Differential Revision: https://reviews.llvm.org/D57193
Modified:
lldb/trunk/source/Plugins/Process/NetBSD/CMakeLists.txt
Modified: lldb/trunk/source/Plugins/Process/NetBSD/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/NetBSD/CMakeLists.txt?rev=352116&r1=352115&r2=352116&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/NetBSD/CMakeLists.txt (original)
+++ lldb/trunk/source/Plugins/Process/NetBSD/CMakeLists.txt Thu Jan 24 14:20:47 2019
@@ -11,6 +11,7 @@ add_lldb_library(lldbPluginProcessNetBSD
lldbUtility
lldbPluginProcessPOSIX
lldbPluginProcessUtility
+ util
LINK_COMPONENTS
Support
)
More information about the lldb-commits
mailing list