summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/data-formatter/data-formatter-skip-summary
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/functionalities/data-formatter/data-formatter-skip-summary
parent29487759e3cc8fc056a599a38b3a6d2d8849a20e (diff)
[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/functionalities/data-formatter/data-formatter-skip-summary')
-rw-r--r--lldb/test/API/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py b/lldb/test/API/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
index 2c0a89f98399..91b249b677c7 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
@@ -10,10 +10,6 @@ from lldbsuite.test import lldbutil
class SkipSummaryDataFormatterTestCase(TestBase):
- @expectedFailureAll(
- oslist=["windows"],
- bugnumber="llvm.org/pr24462, Data formatters have problems on Windows",
- )
def test_with_run_command(self):
"""Test data formatter commands."""
self.build()