[Lldb-commits] [PATCH] D57193: [lldb] [Process/NetBSD] Add missing linkage to -lutil

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 24 14:16:49 PST 2019


mgorny created this revision.
mgorny added a reviewer: krytarowski.
Herald added a subscriber: abidh.

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


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D57193

Files:
  source/Plugins/Process/NetBSD/CMakeLists.txt


Index: source/Plugins/Process/NetBSD/CMakeLists.txt
===================================================================
--- source/Plugins/Process/NetBSD/CMakeLists.txt
+++ source/Plugins/Process/NetBSD/CMakeLists.txt
@@ -11,6 +11,7 @@
     lldbUtility
     lldbPluginProcessPOSIX
     lldbPluginProcessUtility
+    util
   LINK_COMPONENTS
     Support
   )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57193.183397.patch
Type: text/x-patch
Size: 358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190124/49c5ccd3/attachment.bin>


More information about the lldb-commits mailing list