import lldb-14.0.0-2.module+el8.7.0+15584+063501eb
This commit is contained in:
parent
73a955759e
commit
4eb01d3eaa
15
SOURCES/disable-std-vector-prettyprinter.patch
Normal file
15
SOURCES/disable-std-vector-prettyprinter.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff -ruN lldb-14.0.0.src.orig/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp lldb-14.0.0.src/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
|
||||
--- a/lldb-14.0.0.src.orig/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp 2022-03-14 10:44:55.000000000 +0100
|
||||
+++ b/lldb-14.0.0.src/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp 2022-06-08 07:06:32.227607437 +0200
|
||||
@@ -940,11 +940,6 @@
|
||||
stl_deref_flags.SetFrontEndWantsDereference();
|
||||
|
||||
cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add(
|
||||
- RegularExpression("^std::vector<.+>(( )?&)?$"),
|
||||
- SyntheticChildrenSP(new ScriptedSyntheticChildren(
|
||||
- stl_synth_flags,
|
||||
- "lldb.formatters.cpp.gnu_libstdcpp.StdVectorSynthProvider")));
|
||||
- cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add(
|
||||
RegularExpression("^std::map<.+> >(( )?&)?$"),
|
||||
SyntheticChildrenSP(new ScriptedSyntheticChildren(
|
||||
stl_synth_flags,
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name: lldb
|
||||
Version: %{lldb_version}%{?rc_ver:~rc%{rc_ver}}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Next generation high-performance debugger
|
||||
|
||||
License: NCSA
|
||||
@ -32,6 +32,15 @@ BuildRequires: multilib-rpm-config
|
||||
|
||||
Requires: python3-lldb
|
||||
|
||||
# There is a problem with the debug info generated by the
|
||||
# GCC version we ship in RHEL 8. It somehow makes it very
|
||||
# hard for lldb to inspect std::vector types.
|
||||
# Disable the pretty-printer for now, since otherwise
|
||||
# such vectors look empty to the developer even though
|
||||
# they aren't.
|
||||
# See https://bugzilla.redhat.com/show_bug.cgi?id=2082508
|
||||
Patch001: disable-std-vector-prettyprinter.patch
|
||||
|
||||
# For origin certification
|
||||
BuildRequires: gnupg2
|
||||
|
||||
@ -132,6 +141,9 @@ rm -f %{buildroot}%{python3_sitearch}/six.*
|
||||
%{python3_sitearch}/lldb
|
||||
|
||||
%changelog
|
||||
* Wed Jun 08 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-2
|
||||
- Disable libstdc++ std::vector prettyprinter
|
||||
|
||||
* Thu Apr 07 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
|
||||
- Update to 14.0.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user