Skip to content

Commit 3c91d01

Browse files
committed
[lldb] Build libcxx unique_ptr and shared_ptr test programs with -glldb.
The functionality added by https://reviews.llvm.org/D145803 is gated by lldb tuning, so we need to build the test programs with `-glldb` to make these tests print the expected preferred name. Differential Revision: https://reviews.llvm.org/D148582
1 parent 459420c commit 3c91d01

File tree

2 files changed

+6
-2
lines changed
  • lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx

2 files changed

+6
-2
lines changed

lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/shared_ptr/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@ CXX_SOURCES := main.cpp
22

33
USE_LIBCPP := 1
44

5-
CXXFLAGS_EXTRAS := -std=c++14
5+
# We need debug info tuning for lldb in order to emit the preferred name for
6+
# std::string. See https://reviews.llvm.org/D145803.
7+
CXXFLAGS_EXTRAS := -std=c++14 -glldb
68
include Makefile.rules

lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/unique_ptr/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@ CXX_SOURCES := main.cpp
22

33
USE_LIBCPP := 1
44

5-
CXXFLAGS_EXTRAS := -std=c++14
5+
# We need debug info tuning for lldb in order to emit the preferred name for
6+
# std::string. See https://reviews.llvm.org/D145803.
7+
CXXFLAGS_EXTRAS := -std=c++14 -glldb
68
include Makefile.rules

0 commit comments

Comments
 (0)