[all-commits] [llvm/llvm-project] 4c7a70: [LLDB] Simplify libstdc++ string summaries (#146562)
nerix via All-commits
all-commits at lists.llvm.org
Wed Jul 2 03:21:53 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4c7a706589ca97101972c88d90449d27275b3ab5
https://github.com/llvm/llvm-project/commit/4c7a706589ca97101972c88d90449d27275b3ab5
Author: nerix <nerixdev at outlook.de>
Date: 2025-07-02 (Wed, 02 Jul 2025)
Changed paths:
M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.h
Log Message:
-----------
[LLDB] Simplify libstdc++ string summaries (#146562)
>From #143177. This combines the summaries for the pre- and post C++ 11
`std::string` as well as `std::wstring`. In all cases, the data pointer
is reachable through `_M_dataplus._M_p`. It has the correct type (i.e.
`char*`/`wchar_t*`) and it's null terminated, so LLDB knows how to
format it as expected when using `GetSummaryAsCString`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list