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

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 5 14:42:22 PST 2022


Author: Felipe de Azevedo Piovezan
Date: 2022-12-05T17:42:00-05:00
New Revision: b1fcc1840c312472cb9ccb8c4e5e02ca13b31113

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

LOG: [lldb-tests] Force system's libcxx on tests failing with debug symbols

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.

Differential Revision: https://reviews.llvm.org/D139361

Added: 
    

Modified: 
    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

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/Makefile b/lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/Makefile
index f938f7428468..98638c56f0b9 100644
--- a/lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/Makefile
+++ b/lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/Makefile
@@ -1,3 +1,5 @@
-USE_LIBCPP := 1
+# FIXME: once the expression evaluator can handle std libraries with debug
+# info, change this to USE_LIBCPP=1
+USE_SYSTEM_STDLIB := 1
 CXX_SOURCES := main.cpp
 include Makefile.rules

diff  --git a/lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/Makefile b/lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/Makefile
index f938f7428468..98638c56f0b9 100644
--- a/lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/Makefile
+++ b/lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/Makefile
@@ -1,3 +1,5 @@
-USE_LIBCPP := 1
+# FIXME: once the expression evaluator can handle std libraries with debug
+# info, change this to USE_LIBCPP=1
+USE_SYSTEM_STDLIB := 1
 CXX_SOURCES := main.cpp
 include Makefile.rules

diff  --git a/lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/Makefile b/lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/Makefile
index f938f7428468..98638c56f0b9 100644
--- a/lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/Makefile
+++ b/lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/Makefile
@@ -1,3 +1,5 @@
-USE_LIBCPP := 1
+# FIXME: once the expression evaluator can handle std libraries with debug
+# info, change this to USE_LIBCPP=1
+USE_SYSTEM_STDLIB := 1
 CXX_SOURCES := main.cpp
 include Makefile.rules


        


More information about the lldb-commits mailing list