Covering basic cases where you have 1 item on 1 line.
Apart from eFormatCharArray, where using multiple lines
highlights the difference between it and eFormatVectorOfChar.
Paths
| Differential D101453
[lldb] Add tests for DumpDataExtractor formats ClosedPublic Authored by DavidSpickett on Apr 28 2021, 6:56 AM.
Details
Summary Covering basic cases where you have 1 item on 1 line. Apart from eFormatCharArray, where using multiple lines
Diff Detail
Event TimelineComment Actions I'm looking into printing memory tags and "memory read" uses this code a lot so I thought I'd add tests before I attempt to extend it. If this is useful then I'll add some more covering some other key bits like splitting over multiple lines. Comment Actions FWIW, we do have a test for this named TestBuiltinFormats.py. It's using the SB API so it's not as a direct test as this one, so I think having this too is good. I think this looks good otherwise so let's ship it. I have a few comments about the comments though, but that can be fixed while landing.
This revision is now accepted and ready to land.Apr 29 2021, 9:20 AM This revision was landed with ongoing or failed builds.Apr 30 2021, 2:29 AM Closed by commit rG8fdfc1d64c51: [lldb] Add tests for DumpDataExtractor formats (authored by DavidSpickett). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 341182 lldb/unittests/Core/CMakeLists.txt
lldb/unittests/Core/DumpDataExtractorTest.cpp
|
clang-format not found in user's PATH; not linting file.