Skip to content

Commit e98b2f7

Browse files
vvereschakadzhidzhoev
authored andcommitted
[lldb][test] Fix TestStdCXXDisassembly test when tests are linked with libc++ statically
The test expects 'libstdc++' or 'libc++' SO module in the module list. In case when static linking with libc++ is on by default, none of them may be present. Thus, USE_SYSTEM_STDLIB is added to ensure presence of any of them.
1 parent bee2403 commit e98b2f7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lldb/test/API/lang/cpp/stl/Makefile

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

3+
USE_SYSTEM_STDLIB := 1
4+
35
include Makefile.rules

lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_stdcxx_disasm(self):
4444
# module is the corresponding SBModule.
4545

4646
self.expect(
47-
lib_stdcxx, "Libraray StdC++ is located", exe=False, substrs=["lib"]
47+
lib_stdcxx, "Library StdC++ is located", exe=False, substrs=["lib"]
4848
)
4949

5050
self.runCmd("image dump symtab '%s'" % lib_stdcxx)

0 commit comments

Comments
 (0)