From 1cec22d33f6b02bcf36f8c8df0924c86a647b0b8 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Mon, 23 Nov 2020 19:50:31 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/dwarves.git#5de3a731c72a866e62a9e8aa9a04b31dcc29775f --- .gitignore | 1 + dwarves.spec | 61 ++++++++++++++++++++++++++++++++++++++++++++++------ sources | 2 +- 3 files changed, 56 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 03b4c60..75d2e04 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /dwarves.spec /dirname-truncation.patch /dwarves-1.17.tar.xz +/dwarves-1.19.tar.xz diff --git a/dwarves.spec b/dwarves.spec index 50ee765..9232002 100644 --- a/dwarves.spec +++ b/dwarves.spec @@ -2,8 +2,8 @@ %define libver 1 Name: dwarves -Version: 1.17 -Release: 4%{?dist} +Version: 1.19 +Release: 1%{?dist} License: GPLv2 Summary: Debugging Information Manipulation Tools (pahole & friends) URL: http://acmel.wordpress.com @@ -41,6 +41,12 @@ gcc, with the same compiler flags, and then use codiff to make sure the original .o file and the new one generated from debug info produces the same debug info. +Pahole also can be used to use all this type information to pretty print raw data +according to command line directions. + +Headers can have its data format described from debugging info and offsets from +it can be used to further format a number of records. + The btfdiff utility compares the output of pahole from BTF and DWARF to make sure they produce the same results. @@ -61,7 +67,7 @@ Debugging information processing library development files. %setup -q %build -%cmake . +%cmake -DCMAKE_BUILD_TYPE=Release . %cmake_build %install @@ -73,7 +79,7 @@ rm -Rf %{buildroot} %files %doc README.ctracer %doc README.btf -%doc changes-v1.17 +%doc changes-v1.19 %doc NEWS %{_bindir}/btfdiff %{_bindir}/codiff @@ -122,12 +128,28 @@ rm -Rf %{buildroot} %{_includedir}/dwarves/libctf.h %{_includedir}/dwarves/list.h %{_includedir}/dwarves/rbtree.h -%{_includedir}/dwarves/strings.h +%{_includedir}/dwarves/pahole_strings.h %{_libdir}/%{libname}.so %{_libdir}/%{libname}_emit.so %{_libdir}/%{libname}_reorganize.so %changelog +* Fri Nov 20 2020 Arnaldo Carvalho de Melo - 1.19-1 +- New release: 1.19 +- Split BTF +- DWARF workarounds for DW_AT_declaration +- Support cross-compiled ELF binaries with different endianness +- Support showing typedefs for anonymous types +- Speedups using libbpf algorithms +- See changes-v1.19 for a complete and more detailed list of changes + +* Fri Oct 02 2020 Arnaldo Carvalho de Melo - 1.18-1 +- New release: 1.18 +- Use debugging info to pretty print raw data +- Store percpu variables in vmlinux BTF. +- Fixes to address segfaults on the gdb testsuite binaries +- Bail out on partial units for now, avoiding segfaults and providing warning to user. + * Mon Aug 31 2020 - Zamir SUN - 1.17-4 - Fix FTBFS - Resolves: bug 1863459 @@ -139,8 +161,33 @@ rm -Rf %{buildroot} * Mon Jul 27 2020 Fedora Release Engineering - 1.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild +* Fri Mar 13 2020 Arnaldo Carvalho de Melo - 1.17-1 +- New release: 1.17 +- Support raw BTF as available in /sys/kernel/btf/vmlinux. +- When the sole argument passed isn't a file, take it as a class name: +- Do not require a class name to operate without a file name. +- Make --find_pointers_to consider unions: +- Make --contains and --find_pointers_to honour --unions +- Add support for finding pointers to void: +- Make --contains and --find_pointers_to to work with base types: +- Make --contains look for more than just unions, structs: +- Consider unions when looking for classes containing some class: +- Introduce --unions to consider just unions: +- Fix -m/--nr_methods - Number of functions operating on a type pointer + * Wed Feb 12 2020 Arnaldo Carvalho de Melo - 1.16-1 - New release: 1.16 +- BTF encoder: Preserve and encode exported functions as BTF_KIND_FUNC. +- BTF loader: Add support for BTF_KIND_FUNC +- Pretty printer: Account inline type __aligned__ member types for spacing +- Pretty printer: Fix alignment of class members that are structs/enums/unions +- Pretty printer: Avoid infinite loop trying to determine type with static data member of its own type. +- RPM spec file: Add dwarves dependency on libdwarves1. +- pfunct: type->type == 0 is void, fix --compile for that +- pdwtags: Print DW_TAG_subroutine_type as well +- core: Fix ptr_table__add_with_id() handling of pt->nr_entries +- pglobal: Allow passing the format path specifier, to use with BTF +- Tree wide: Fixup issues pointed out by various coverity reports. * Tue Jan 28 2020 Fedora Release Engineering - 1.15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild @@ -225,13 +272,13 @@ rm -Rf %{buildroot} * Fri Jan 13 2012 Fedora Release Engineering - 1.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild -* Mon Feb 28 2011 * Arnaldo Carvalho de Melo - 1.9-1 +* Sat Nov 20 2010 Arnaldo Carvalho de Melo - 1.9-1 - New release * Tue Feb 08 2011 Fedora Release Engineering - 1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild -* Fri Dec 4 2009 Apr 23 2009 Arnaldo Carvalho de Melo - 1.8-1 +* Fri Dec 4 2009 Arnaldo Carvalho de Melo - 1.8-1 - New release * Fri Feb 13 2009 Arnaldo Carvalho de Melo - 1.7-2 diff --git a/sources b/sources index feaa53e..ae53e7c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dwarves-1.17.tar.xz) = 8916ea24316efe1eb322d045fb2d81c230905f2fe33942eac641e9e0311f33a3bcf55be454eac32781799c255303bafacd8f1bd1b3ec08f0dae4d5f38d8186ba +SHA512 (dwarves-1.19.tar.xz) = b378a504da5b00c6280b9efda7348c2d61015ce6477f3e4e4466f58d9bf6837457cd0aa9263b7d921093cca5ee26c4fab9950f7f75ca05d27ae646b3bfe22f9a