diff options
| author | nerix <nerixdev@outlook.de> | 2025-07-08 10:55:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-08 09:55:18 +0100 |
| commit | 45689b26eb4bfa619127013dccea8efd8de4d21a (patch) | |
| tree | 232bae8e440a57b8b1ec54583ae72047e7bdb97b /lldb/test/API/functionalities/data-formatter/stringprinter/TestStringPrinter.py | |
| parent | 29487759e3cc8fc056a599a38b3a6d2d8849a20e (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/stringprinter/TestStringPrinter.py')
| -rw-r--r-- | lldb/test/API/functionalities/data-formatter/stringprinter/TestStringPrinter.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/test/API/functionalities/data-formatter/stringprinter/TestStringPrinter.py b/lldb/test/API/functionalities/data-formatter/stringprinter/TestStringPrinter.py index 27285949c52b..0e3bfc2733a5 100644 --- a/lldb/test/API/functionalities/data-formatter/stringprinter/TestStringPrinter.py +++ b/lldb/test/API/functionalities/data-formatter/stringprinter/TestStringPrinter.py @@ -4,5 +4,4 @@ from lldbsuite.test import decorators lldbinline.MakeInlineTest( __file__, globals(), - [decorators.expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24772")], ) |
