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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits