aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api
diff options
context:
space:
mode:
authornerix <nerixdev@outlook.de>2025-07-08 10:55:18 +0200
committerGitHub <noreply@github.com>2025-07-08 09:55:18 +0100
commit45689b26eb4bfa619127013dccea8efd8de4d21a (patch)
tree232bae8e440a57b8b1ec54583ae72047e7bdb97b /lldb/test/API/python_api
parent29487759e3cc8fc056a599a38b3a6d2d8849a20e (diff)
downloadllvm-45689b26eb4bfa619127013dccea8efd8de4d21a.zip
llvm-45689b26eb4bfa619127013dccea8efd8de4d21a.tar.gz
llvm-45689b26eb4bfa619127013dccea8efd8de4d21a.tar.bz2
[LLDB] Add type summaries for MSVC STL strings (#143177)
This PR adds type summaries for `std::{string,wstring,u8string,u16string,u32string}` from the MSVC STL. See https://github.com/llvm/llvm-project/issues/24834 for the MSVC STL issue. The following changes were made: - `dotest.py` now detects if the MSVC STL is available. It does so by looking at the target triple, which is an additional argument passed from Lit. It specifically checks for `windows-msvc` to not match on `windows-gnu` (i.e. MinGW/Cygwin). - (The main part): Added support for summarizing `std::(w)string` from MSVC's STL. Because the type names from the libstdc++ (pre C++ 11) string types are the same as on MSVC's STL, `CXXCompositeSummaryFormat` is used with two entries, one for MSVC's STL and one for libstdc++. With MSVC's STL, `std::u{8,16,32}string` is also handled. These aren't handled for libstdc++, so I put them in `LoadMsvcStlFormatters`.
Diffstat (limited to 'lldb/test/API/python_api')
-rw-r--r--lldb/test/API/python_api/sbvalue_persist/TestSBValuePersist.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/test/API/python_api/sbvalue_persist/TestSBValuePersist.py b/lldb/test/API/python_api/sbvalue_persist/TestSBValuePersist.py
index d441a9d..8b58dc6 100644
--- a/lldb/test/API/python_api/sbvalue_persist/TestSBValuePersist.py
+++ b/lldb/test/API/python_api/sbvalue_persist/TestSBValuePersist.py
@@ -10,7 +10,6 @@ from lldbsuite.test import lldbutil
class SBValuePersistTestCase(TestBase):
NO_DEBUG_INFO_TESTCASE = True
- @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24772")
def test(self):
"""Test SBValue::Persist"""
self.build()