================
@@ -1,10 +1,15 @@
-add_lldb_unittest(LLDBBreakpointTests
+add_lldb_unittest(LLDBBreakpointTests      
   BreakpointIDTest.cpp
+  BreakpointClearConditionTest.cpp
   WatchpointAlgorithmsTests.cpp
 
   LINK_COMPONENTS
     Support
   LINK_LIBS
+    liblldb
----------------
JDevlieghere wrote:

When you mix static and dynamic libraries that contain the same code, you end 
up with two copies of the same symbols which leads to various hard-to-debug 
issues (like having two copies of globals). When you say it "works" you mean 
you don't notice any of these issues for this particular test, but that doesn't 
make it any less wrong :-) 

I like the idea of enforcing this at the CMake layer. I've filed: 
https://github.com/llvm/llvm-project/issues/162378

https://github.com/llvm/llvm-project/pull/162370
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to