[Lldb-commits] [lldb] 2818df3 - [lldb] Remove UtilityTests->Target dep (#127060)

via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 13 23:40:49 PST 2025


Author: Pavel Labath
Date: 2025-02-14T08:40:45+01:00
New Revision: 2818df38c133cf7278b0174d01fe99c9c558fa2c

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

LOG: [lldb] Remove UtilityTests->Target dep (#127060)

It's completely unnecessary right now, but having it present means that
some real unwanted dependencies could sneak in. (This also makes
building the test binary much faster.)

Added: 
    

Modified: 
    lldb/unittests/Utility/CMakeLists.txt
    lldb/unittests/Utility/ProcessInstanceInfoTest.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/unittests/Utility/CMakeLists.txt b/lldb/unittests/Utility/CMakeLists.txt
index 3a73bdc3e9e1a..8d4e2ea35f267 100644
--- a/lldb/unittests/Utility/CMakeLists.txt
+++ b/lldb/unittests/Utility/CMakeLists.txt
@@ -52,7 +52,6 @@ add_lldb_unittest(UtilityTests
   XcodeSDKTest.cpp
 
   LINK_LIBS
-      lldbTarget
       lldbUtility
       lldbUtilityHelpers
       LLVMTestingSupport

diff  --git a/lldb/unittests/Utility/ProcessInstanceInfoTest.cpp b/lldb/unittests/Utility/ProcessInstanceInfoTest.cpp
index 3ba35d4efacc1..b653df5fe01a1 100644
--- a/lldb/unittests/Utility/ProcessInstanceInfoTest.cpp
+++ b/lldb/unittests/Utility/ProcessInstanceInfoTest.cpp
@@ -6,7 +6,11 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "lldb/Target/Process.h"
+#include "lldb/Utility/ArchSpec.h"
+#include "lldb/Utility/ProcessInfo.h"
+#include "lldb/Utility/StreamString.h"
+#include "lldb/Utility/UserIDResolver.h"
+#include "llvm/ADT/Twine.h"
 #include "gtest/gtest.h"
 #include <optional>
 


        


More information about the lldb-commits mailing list