[Lldb-commits] [lldb] e7654a7 - [lldb] Explicitly mark PlatformFreeBSD's dependency on PlatformPOSIX

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 24 10:59:18 PDT 2023


Author: Alex Langford
Date: 2023-03-24T10:55:36-07:00
New Revision: e7654a7692c4f894eec136af07fe6756bef315fc

URL: https://github.com/llvm/llvm-project/commit/e7654a7692c4f894eec136af07fe6756bef315fc
DIFF: https://github.com/llvm/llvm-project/commit/e7654a7692c4f894eec136af07fe6756bef315fc.diff

LOG: [lldb] Explicitly mark PlatformFreeBSD's dependency on PlatformPOSIX

I accidentally broke the FreeBSD lldb-server build in 0c5cee7 because it
now depends on PlatformFreeBSD. PlatformFreeBSD depends on PlatformPOSIX
but this dependency was not explicitly tracked in CMake. As a result,
the FreeBSD lldb-server build broke.

Credit to John F. Carr <jfc at mit.edu> for pointing out the issue and
providing a fix.

Added: 
    

Modified: 
    lldb/source/Plugins/Platform/FreeBSD/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Platform/FreeBSD/CMakeLists.txt b/lldb/source/Plugins/Platform/FreeBSD/CMakeLists.txt
index 8095a0b584dc3..e277a8f5c9269 100644
--- a/lldb/source/Plugins/Platform/FreeBSD/CMakeLists.txt
+++ b/lldb/source/Plugins/Platform/FreeBSD/CMakeLists.txt
@@ -7,6 +7,7 @@ add_lldb_library(lldbPluginPlatformFreeBSD PLUGIN
     lldbCore
     lldbHost
     lldbTarget
+    lldbPluginPlatformPOSIX
 
   LINK_COMPONENTS
     TargetParser


        


More information about the lldb-commits mailing list