[Lldb-commits] [lldb] [lldb] Use system c++ lib for LLDB STL tests (PR #112598)

via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 16 11:46:50 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Haowei (zeroomega)

<details>
<summary>Changes</summary>

This change partially reverts #<!-- -->112357 to avoid test failures on machines which do not have gcc installed.


Test run: https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci.shadow/lldb-linux-x64/b8733897350805827393/overview 

---
Full diff: https://github.com/llvm/llvm-project/pull/112598.diff


1 Files Affected:

- (modified) lldb/test/API/lang/cpp/stl/Makefile (+1-5) 


``````````diff
diff --git a/lldb/test/API/lang/cpp/stl/Makefile b/lldb/test/API/lang/cpp/stl/Makefile
index 4408691f01b701..8534fa9b00209e 100644
--- a/lldb/test/API/lang/cpp/stl/Makefile
+++ b/lldb/test/API/lang/cpp/stl/Makefile
@@ -1,9 +1,5 @@
 CXX_SOURCES := main.cpp
 
-ifneq ($(OS),Darwin)
-    USE_LIBSTDCPP := 1
-else
-    USE_SYSTEM_STDLIB := 1
-endif
+USE_SYSTEM_STDLIB := 1
 
 include Makefile.rules

``````````

</details>


https://github.com/llvm/llvm-project/pull/112598


More information about the lldb-commits mailing list