https://reviews.llvm.org/D125496 changed the layout of std::string without updating the LLDB dataformatter. This patch adds code to recognize the now format.
How do we usually add tests for STL data structures?
Differential D126080
Adapt C++ std::string dataformatter for D125496 aprantl on May 20 2022, 11:22 AM. Authored by
Details https://reviews.llvm.org/D125496 changed the layout of std::string without updating the LLDB dataformatter. This patch adds code to recognize the now format. How do we usually add tests for STL data structures?
Diff Detail
Event TimelineComment Actions I'm going to land this quickly to get the bots going again, but a thorough review would still be very much appreciated! Comment Actions
I guess that matrix bot sort of covers this. Comment Actions
I have https://reviews.llvm.org/D124155, which would allow testing of different string layouts in one go. It remains to be seen how maintainable will that test be when it starts supporting many string layouts. OTOH, one could say it will be as maintainable as a data formatter which supports all those string layouts... |