This is an archive of the discontinued LLVM Phabricator instance.

Fix libstdc++ data formatter for reference/pointer to std::string
ClosedPublic

Authored by yinghuitan on May 10 2023, 2:47 PM.

Details

Summary

This patch fixes libstdc++ data formatter for reference/pointer to std::string.
The failure testcases are added which succeed with the patch.

Diff Detail

Event Timeline

yinghuitan created this revision.May 10 2023, 2:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 10 2023, 2:47 PM
yinghuitan requested review of this revision.May 10 2023, 2:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 10 2023, 2:47 PM
JDevlieghere accepted this revision.May 12 2023, 2:52 AM

I'm surprised this didn't work but was able to reproduce the failure on Linux with libstdcpp. LGTM.

This revision is now accepted and ready to land.May 12 2023, 2:52 AM