import dwarves-1.19-1.el8

This commit is contained in:
CentOS Sources 2021-05-18 03:01:49 -04:00 committed by Andrew Lukoshko
parent 39eddd0748
commit bc6f719a71
3 changed files with 22 additions and 6 deletions

View File

@ -1 +1 @@
66b7c00296027a8a5858ef32427919c3a84cf5ef SOURCES/dwarves-1.17.tar.xz
e3c5737ab29d8ec8db5095d719baa96217bac60d SOURCES/dwarves-1.19.tar.xz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/dwarves-1.17.tar.xz
SOURCES/dwarves-1.19.tar.xz

View File

@ -2,7 +2,7 @@
%define libver 1
Name: dwarves
Version: 1.17
Version: 1.19
Release: 1%{?dist}
License: GPLv2
Summary: Debugging Information Manipulation Tools (pahole & friends)
@ -35,6 +35,21 @@ 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.
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.
%package -n %{libname}%{libver}
Summary: Debugging information processing library
@ -49,10 +64,10 @@ Requires: %{libname}%{libver} = %{version}-%{release}
Debugging information processing library development files.
%prep
%setup -q -n %{name}-%{version}
%setup -q
%build
%cmake .
%cmake -DCMAKE_BUILD_TYPE=Release .
make VERBOSE=1 %{?_smp_mflags}
%install
@ -64,6 +79,7 @@ make install DESTDIR=%{buildroot}
%files
%doc README.ctracer
%doc README.btf
%doc changes-v1.19
%doc NEWS
%{_bindir}/btfdiff
%{_bindir}/codiff
@ -112,7 +128,7 @@ make install DESTDIR=%{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