[Lldb-commits] [PATCH] D139361: [lldb-tests] Force system's libcxx on tests failing with debug symbols

Felipe de Azevedo Piovezan via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 5 12:57:25 PST 2022


fdeazeve created this revision.
Herald added a project: All.
fdeazeve requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

The tests in this patch expose failures of LLDBs expression evaluator
when a standard library is compiled with debug symbols. This is the case
for RelWithDebugInfo builds of llvm-project (with libcxx).

Until these bugs are fixed, we force these tests to use the system's
standard library.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139361

Files:
  lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/Makefile
  lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/Makefile
  lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/Makefile


Index: lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/Makefile
===================================================================
--- lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/Makefile
+++ lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/Makefile
@@ -1,3 +1,3 @@
-USE_LIBCPP := 1
+USE_SYSTEM_STDLIB := 1
 CXX_SOURCES := main.cpp
 include Makefile.rules
Index: lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/Makefile
===================================================================
--- lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/Makefile
+++ lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/Makefile
@@ -1,3 +1,3 @@
-USE_LIBCPP := 1
+USE_SYSTEM_STDLIB := 1
 CXX_SOURCES := main.cpp
 include Makefile.rules
Index: lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/Makefile
===================================================================
--- lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/Makefile
+++ lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/Makefile
@@ -1,3 +1,3 @@
-USE_LIBCPP := 1
+USE_SYSTEM_STDLIB := 1
 CXX_SOURCES := main.cpp
 include Makefile.rules


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139361.480212.patch
Type: text/x-patch
Size: 1323 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221205/fbd67235/attachment.bin>


More information about the lldb-commits mailing list