diff --git a/.gitignore b/.gitignore index e69de29..1c6f769 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,5 @@ +/0001-cmake-libebl-was-merged-into-libdw.patch +/0001-dwarves-Add-D_LARGEFILE64_SOURCE-D_FILE_OFFSET_BITS-.patch +/libbpf-new.patch +/dwarves-1.16.tar.xz +/dwarves.spec diff --git a/dwarves.spec b/dwarves.spec index 19d5093..e821b14 100644 --- a/dwarves.spec +++ b/dwarves.spec @@ -2,13 +2,15 @@ %define libver 1 Name: dwarves -Version: 1.15 -Release: 2%{?dist} +Version: 1.16 +Release: 1%{?dist} License: GPLv2 Summary: Debugging Information Manipulation Tools (pahole & friends) URL: http://acmel.wordpress.com Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.xz -Patch: 0001-fprintf-Fixup-handling-classes-with-no-members.patch +Patch1: 0001-cmake-libebl-was-merged-into-libdw.patch +Patch2: libbpf-new.patch +Patch3: 0001-dwarves-Add-D_LARGEFILE64_SOURCE-D_FILE_OFFSET_BITS-.patch BuildRequires: gcc BuildRequires: cmake BuildRequires: zlib-devel @@ -35,6 +37,15 @@ code generate on the resulting binaries. Another tool is pfunct, that can be used to find all sorts of information about functions, inlines, decisions made by the compiler about inlining, etc. +One example of pfunct usage is in the fullcircle tool, a shell that drivers +pfunct to generate compileable code out of a .o file and then build it using +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. + +The btfdiff utility compares the output of pahole from BTF and DWARF to make +sure they produce the same results. + %package -n %{libname}%{libver} Summary: Debugging information processing library @@ -50,7 +61,9 @@ Debugging information processing library development files. %prep %setup -q -c -n %{name}-%{version} -%patch -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build %cmake . @@ -119,6 +132,9 @@ make install DESTDIR=%{buildroot} %{_libdir}/%{libname}_reorganize.so %changelog +* Wed Feb 12 2020 Arnaldo Carvalho de Melo - 1.16-1 +- New release: 1.16 + * Mon Jul 1 2019 Arnaldo Carvalho de Melo - 1.15-2 - Fix bug when processing classes without members diff --git a/sources b/sources index 7ceefca..cc5b050 100644 --- a/sources +++ b/sources @@ -1 +1,5 @@ -SHA512 (dwarves-1.15.tar.xz) = 29a8a15b7190480e79c2f423c7104d0fd275cd4c3df17518a1dd3c63cce1c528fad4b6f580baa397d9aa9323703009009e2d529939b12dd1af2c65cf7120b237 +SHA512 (0001-cmake-libebl-was-merged-into-libdw.patch) = 5eeed7f818498c86e6fcd94001eaa806a46abf50f3fca5cc5794b253bb35742fda28eac0d2ed1ebb21f1a4ff735c5cc8442b6b8b4f296bd8305de9e4c896f2ce +SHA512 (0001-dwarves-Add-D_LARGEFILE64_SOURCE-D_FILE_OFFSET_BITS-.patch) = 0092c443bf908f13cd434408f82dce8782a71a851b06b3b131a2faf7dcd27f46ea5fe8138e17f1758229e6c2ad2c910ce0bafeac75940e19b6ced99f75841c72 +SHA512 (libbpf-new.patch) = 02ce3b1646e645faffe93408332299f067b1e4e793e18f0c5b95568abfa27c5976737505eded6a61406d191ca96bbe188648c05166c1c46e763847c646dba00c +SHA512 (dwarves-1.16.tar.xz) = 6d57b26db70736353d8797d1f7d68c7c73b6df3ae69eb66dd7cb07d6b50a26c4f2adaa576a8915a4a7f8c41b67dcebbfc8cbdf3ba507dbf941f63941b13d65b1 +SHA512 (dwarves.spec) = 8d1061636d9f76a5cc2461d54e790282fab26e71e4c87167f5de2ff00bc8f79e539d2ad9f90c26aaeedf95ceef375f12c8472d65c2938712cc222de6862c5ee1