From b1fcc1840c312472cb9ccb8c4e5e02ca13b31113 Mon Sep 17 00:00:00 2001 From: Felipe de Azevedo Piovezan Date: Mon, 5 Dec 2022 15:49:13 -0500 Subject: [PATCH] [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 --- .../expression/import-std-module/deque-dbg-info-content/Makefile | 4 +++- .../expression/import-std-module/list-dbg-info-content/Makefile | 4 +++- .../expression/import-std-module/vector-dbg-info-content/Makefile | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) 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 f938f74..98638c5 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 f938f74..98638c5 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 f938f74..98638c5 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 -- 2.7.4