diff options
author | Zequan Wu <zequanwu@google.com> | 2025-02-03 11:34:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-03 14:34:20 -0500 |
commit | e269c2b5fa592498984cc381914bc65da377b08d (patch) | |
tree | 9c850bee40b344c3e71f89300cf74e69a1c6b8d3 /lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp | |
parent | a29ed04fe61b9d0d040865c0a762f461f95fbed7 (diff) | |
download | llvm-e269c2b5fa592498984cc381914bc65da377b08d.zip llvm-e269c2b5fa592498984cc381914bc65da377b08d.tar.gz llvm-e269c2b5fa592498984cc381914bc65da377b08d.tar.bz2 |
[lldb] Show value for libcxx and libstdcxx summary and remove pointer value in libcxx container summary (#125294)
This has two changes:
1. Set show value for libcxx and libstdcxx summary provider. This will
print the pointer value for both pointer type and reference type.
2. Remove pointer value printing in libcxx container summary.
Discussion:
https://discourse.llvm.org/t/lldb-hides-raw-pointer-value-for-libcxx-and-libstdcxx-pointer-types-in-summary-string/84226
Diffstat (limited to 'lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp')
-rw-r--r-- | lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp b/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp index 2bf574e..4b045d1 100644 --- a/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp +++ b/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp @@ -641,7 +641,7 @@ static void LoadLibCxxFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { .SetSkipPointers(false) .SetSkipReferences(false) .SetDontShowChildren(true) - .SetDontShowValue(true) + .SetDontShowValue(false) .SetShowMembersOneLiner(false) .SetHideItemNames(false); @@ -1204,7 +1204,7 @@ static void LoadLibStdcppFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { .SetSkipPointers(false) .SetSkipReferences(false) .SetDontShowChildren(true) - .SetDontShowValue(true) + .SetDontShowValue(false) .SetShowMembersOneLiner(false) .SetHideItemNames(false); |