mirror of
https://github.com/openharmony/third_party_libabigail.git
synced 2026-07-01 06:09:52 -04:00
@@ -30,6 +30,10 @@ if CTF_READER
|
||||
TESTS += runtestreadctf
|
||||
endif
|
||||
|
||||
if BTF_READER
|
||||
TESTS += runtestreadbtf
|
||||
endif
|
||||
|
||||
# rather cheap tests
|
||||
TESTS+= \
|
||||
runtestabicompat \
|
||||
@@ -111,6 +115,13 @@ runtestreadctf_LDADD=libtestreadcommon.la libtestutils.la \
|
||||
runtestreadctf_LDFLAGS=-pthread
|
||||
endif
|
||||
|
||||
if BTF_READER
|
||||
runtestreadbtf_SOURCES=test-read-btf.cc
|
||||
runtestreadbtf_LDADD=libtestreadcommon.la libtestutils.la \
|
||||
$(top_builddir)/src/libabigail.la
|
||||
runtestreadbtf_LDFLAGS=-pthread
|
||||
endif
|
||||
|
||||
runtestannotate_SOURCES=test-annotate.cc
|
||||
runtestannotate_LDADD=libtestutils.la $(top_builddir)/src/libabigail.la
|
||||
|
||||
|
||||
@@ -242,6 +242,149 @@ test-abidiff-exit/test-rhbz2114909-v0.o \
|
||||
test-abidiff-exit/test-rhbz2114909-v1.cc \
|
||||
test-abidiff-exit/test-rhbz2114909-v1.o \
|
||||
test-abidiff-exit/test-rhbz2114909-report-1.txt \
|
||||
test-abidiff-exit/btf/test0-report-1.txt \
|
||||
test-abidiff-exit/btf/test0-report-2.txt \
|
||||
test-abidiff-exit/btf/test0-v0.c \
|
||||
test-abidiff-exit/btf/test0-v0.o \
|
||||
test-abidiff-exit/btf/test0-v1.c \
|
||||
test-abidiff-exit/btf/test0-v1.o \
|
||||
test-abidiff-exit/PR30048-test-report-0.txt \
|
||||
test-abidiff-exit/PR30048-test-v0.c \
|
||||
test-abidiff-exit/PR30048-test-v1.c \
|
||||
test-abidiff-exit/PR30048-test-v0.o \
|
||||
test-abidiff-exit/PR30048-test-v1.o \
|
||||
test-abidiff-exit/PR30048-test-2-report-1.txt \
|
||||
test-abidiff-exit/PR30048-test-2-v0.cc \
|
||||
test-abidiff-exit/PR30048-test-2-v0.o \
|
||||
test-abidiff-exit/PR30048-test-2-v1.cc \
|
||||
test-abidiff-exit/PR30048-test-2-v1.o \
|
||||
test-abidiff-exit/test-allow-type-array-suppr.txt \
|
||||
test-abidiff-exit/test-allow-type-array-v0--v1-report-1.txt \
|
||||
test-abidiff-exit/test-allow-type-array-v0--v1-report-2.txt \
|
||||
test-abidiff-exit/test-allow-type-array-v0--v2-report-1.txt \
|
||||
test-abidiff-exit/test-allow-type-array-v0--v2-report-2.txt \
|
||||
test-abidiff-exit/test-allow-type-array-v0--v3-report-1.txt \
|
||||
test-abidiff-exit/test-allow-type-array-v0--v3-report-2.txt \
|
||||
test-abidiff-exit/test-allow-type-array-v0.c \
|
||||
test-abidiff-exit/test-allow-type-array-v0.o \
|
||||
test-abidiff-exit/test-allow-type-array-v1.c \
|
||||
test-abidiff-exit/test-allow-type-array-v1.o \
|
||||
test-abidiff-exit/test-allow-type-array-v2.c \
|
||||
test-abidiff-exit/test-allow-type-array-v2.o \
|
||||
test-abidiff-exit/test-allow-type-array-v3.c \
|
||||
test-abidiff-exit/test-allow-type-array-v3.o \
|
||||
test-abidiff-exit/test-allow-type-region-suppr.txt \
|
||||
test-abidiff-exit/test-allow-type-region-v0--v1-report-1.txt \
|
||||
test-abidiff-exit/test-allow-type-region-v0--v1-report-2.txt \
|
||||
test-abidiff-exit/test-allow-type-region-v0--v2-report-1.txt \
|
||||
test-abidiff-exit/test-allow-type-region-v0--v2-report-2.txt \
|
||||
test-abidiff-exit/test-allow-type-region-v0--v3-report-1.txt \
|
||||
test-abidiff-exit/test-allow-type-region-v0--v3-report-2.txt \
|
||||
test-abidiff-exit/test-allow-type-region-v0--v4-report-1.txt \
|
||||
test-abidiff-exit/test-allow-type-region-v0--v4-report-2.txt \
|
||||
test-abidiff-exit/test-allow-type-region-v0--v5-report-1.txt \
|
||||
test-abidiff-exit/test-allow-type-region-v0--v5-report-2.txt \
|
||||
test-abidiff-exit/test-allow-type-region-v0.c \
|
||||
test-abidiff-exit/test-allow-type-region-v0.o \
|
||||
test-abidiff-exit/test-allow-type-region-v1.c \
|
||||
test-abidiff-exit/test-allow-type-region-v1.o \
|
||||
test-abidiff-exit/test-allow-type-region-v2.c \
|
||||
test-abidiff-exit/test-allow-type-region-v2.o \
|
||||
test-abidiff-exit/test-allow-type-region-v3.c \
|
||||
test-abidiff-exit/test-allow-type-region-v3.o \
|
||||
test-abidiff-exit/test-allow-type-region-v4.c \
|
||||
test-abidiff-exit/test-allow-type-region-v4.o \
|
||||
test-abidiff-exit/test-allow-type-region-v5.c \
|
||||
test-abidiff-exit/test-allow-type-region-v5.o \
|
||||
test-abidiff-exit/test-allow-type-suppr2.txt \
|
||||
test-abidiff-exit/test-allow-type-suppr1.txt \
|
||||
test-abidiff-exit/ada-subrange/test1-ada-subrange/test1-ada-subrange-report-1.txt \
|
||||
test-abidiff-exit/ada-subrange/test1-ada-subrange/test1-ada-subrange-report-2.txt \
|
||||
test-abidiff-exit/ada-subrange/test1-ada-subrange/v0/test1.adb \
|
||||
test-abidiff-exit/ada-subrange/test1-ada-subrange/v0/test1.ads \
|
||||
test-abidiff-exit/ada-subrange/test1-ada-subrange/v0/test1.o \
|
||||
test-abidiff-exit/ada-subrange/test1-ada-subrange/v1/test1.adb \
|
||||
test-abidiff-exit/ada-subrange/test1-ada-subrange/v1/test1.ads \
|
||||
test-abidiff-exit/ada-subrange/test1-ada-subrange/v1/test1.o \
|
||||
test-abidiff-exit/ada-subrange/test2-ada-subrange-redundant/test2-ada-subrange-redundant-report-1.txt \
|
||||
test-abidiff-exit/ada-subrange/test2-ada-subrange-redundant/test2-ada-subrange-redundant-report-2.txt \
|
||||
test-abidiff-exit/ada-subrange/test2-ada-subrange-redundant/v0/test.adb \
|
||||
test-abidiff-exit/ada-subrange/test2-ada-subrange-redundant/v0/test.ads \
|
||||
test-abidiff-exit/ada-subrange/test2-ada-subrange-redundant/v0/test.o \
|
||||
test-abidiff-exit/ada-subrange/test2-ada-subrange-redundant/v1/test.adb \
|
||||
test-abidiff-exit/ada-subrange/test2-ada-subrange-redundant/v1/test.ads \
|
||||
test-abidiff-exit/ada-subrange/test2-ada-subrange-redundant/v1/test.o \
|
||||
test-abidiff-exit/PR30329/new-image/usr/lib/debug/dwz/components/sqlite.bst/x86_64-unknown-linux-gnu \
|
||||
test-abidiff-exit/PR30329/new-image/usr/lib/debug/usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6.debug \
|
||||
test-abidiff-exit/PR30329/new-image/usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 \
|
||||
test-abidiff-exit/PR30329/old-image/usr/lib/debug/dwz/components/sqlite.bst/x86_64-unknown-linux-gnu \
|
||||
test-abidiff-exit/PR30329/old-image/usr/lib/debug/usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6.debug \
|
||||
test-abidiff-exit/PR30329/old-image/usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 \
|
||||
test-abidiff-exit/PR30329/PR30329-report-1.txt \
|
||||
test-abidiff-exit/PR30503/libsdl/1.2.60/lib64/libSDL-1.2.so.1.2.60 \
|
||||
test-abidiff-exit/PR30503/libsdl/1.2.60/lib64/libSDL-1.2.so.1.2.60.debug \
|
||||
test-abidiff-exit/PR30503/libsdl/1.2.64/lib64/libSDL-1.2.so.1.2.64 \
|
||||
test-abidiff-exit/PR30503/libsdl/1.2.64/lib64/libSDL-1.2.so.1.2.64.debug \
|
||||
test-abidiff-exit/PR30503/libsdl/libsdl-1.2.60-1.2.64-report.txt \
|
||||
test-abidiff-exit/test-PR30034/libabigail.abignore \
|
||||
test-abidiff-exit/test-PR30034/reference/include/rte_log.h \
|
||||
test-abidiff-exit/test-PR30034/reference/lib64/librte_eal.so \
|
||||
test-abidiff-exit/test-PR30034/reference/lib64/librte_eal.so.23 \
|
||||
test-abidiff-exit/test-PR30034/reference/lib64/librte_eal.so.23.1 \
|
||||
test-abidiff-exit/test-PR30034/reference/lib64/librte_kvargs.so \
|
||||
test-abidiff-exit/test-PR30034/reference/lib64/librte_kvargs.so.23 \
|
||||
test-abidiff-exit/test-PR30034/reference/lib64/librte_kvargs.so.23.1 \
|
||||
test-abidiff-exit/test-PR30034/reference/lib64/librte_telemetry.so \
|
||||
test-abidiff-exit/test-PR30034/reference/lib64/librte_telemetry.so.23 \
|
||||
test-abidiff-exit/test-PR30034/reference/lib64/librte_telemetry.so.23.1 \
|
||||
test-abidiff-exit/test-PR30034/split/include/rte_log.h \
|
||||
test-abidiff-exit/test-PR30034/split/lib64/librte_eal.so \
|
||||
test-abidiff-exit/test-PR30034/split/lib64/librte_eal.so.23 \
|
||||
test-abidiff-exit/test-PR30034/split/lib64/librte_eal.so.23.2 \
|
||||
test-abidiff-exit/test-PR30034/split/lib64/librte_kvargs.so \
|
||||
test-abidiff-exit/test-PR30034/split/lib64/librte_kvargs.so.23 \
|
||||
test-abidiff-exit/test-PR30034/split/lib64/librte_kvargs.so.23.2 \
|
||||
test-abidiff-exit/test-PR30034/split/lib64/librte_log.so \
|
||||
test-abidiff-exit/test-PR30034/split/lib64/librte_log.so.23 \
|
||||
test-abidiff-exit/test-PR30034/split/lib64/librte_log.so.23.2 \
|
||||
test-abidiff-exit/test-PR30034/split/lib64/librte_telemetry.so \
|
||||
test-abidiff-exit/test-PR30034/split/lib64/librte_telemetry.so.23 \
|
||||
test-abidiff-exit/test-PR30034/split/lib64/librte_telemetry.so.23.2 \
|
||||
test-abidiff-exit/test-PR30034/test-PR30034-report-1.txt \
|
||||
test-abidiff-exit/test-enumerator-changes1-report-1.txt \
|
||||
test-abidiff-exit/test-enumerator-changes1-v0.c \
|
||||
test-abidiff-exit/test-enumerator-changes1-v0.o \
|
||||
test-abidiff-exit/test-enumerator-changes1-v1.c \
|
||||
test-abidiff-exit/test-enumerator-changes1-v1.o \
|
||||
test-abidiff-exit/test-anonymous-enums-change-report-v0.txt \
|
||||
test-abidiff-exit/test-anonymous-enums-change-report-v1.txt \
|
||||
test-abidiff-exit/test-anonymous-enums-change-v0.c \
|
||||
test-abidiff-exit/test-anonymous-enums-change-v0.o \
|
||||
test-abidiff-exit/test-anonymous-enums-change-v1.c \
|
||||
test-abidiff-exit/test-anonymous-enums-change-v1.o \
|
||||
test-abidiff-exit/test-anon-types-report-1.txt \
|
||||
test-abidiff-exit/test-anon-types-v0.c \
|
||||
test-abidiff-exit/test-anon-types-v0.o \
|
||||
test-abidiff-exit/test-anon-types-v1.c \
|
||||
test-abidiff-exit/test-anon-types-v1.o \
|
||||
test-abidiff-exit/test-fam1-report-1.txt \
|
||||
test-abidiff-exit/test-fam1-report-2.txt \
|
||||
test-abidiff-exit/test-fam1-report-3.txt \
|
||||
test-abidiff-exit/test-fam1-report-4.txt \
|
||||
test-abidiff-exit/test-fam1-report-5.txt \
|
||||
test-abidiff-exit/test-fam1-suppr-1.abignore \
|
||||
test-abidiff-exit/test-fam1-suppr-2.abignore \
|
||||
test-abidiff-exit/test-fam1-suppr-3.abignore \
|
||||
test-abidiff-exit/test-fam1-suppr-4.abignore \
|
||||
test-abidiff-exit/test-fam1-v0.c \
|
||||
test-abidiff-exit/test-fam1-v0.o \
|
||||
test-abidiff-exit/test-fam1-v1.c \
|
||||
test-abidiff-exit/test-fam1-v1.o \
|
||||
test-abidiff-exit/test-fam2-report-1.txt \
|
||||
test-abidiff-exit/test-fam2-v0.c \
|
||||
test-abidiff-exit/test-fam2-v0.o \
|
||||
test-abidiff-exit/test-fam2-v1.c \
|
||||
test-abidiff-exit/test-fam2-v1.o \
|
||||
\
|
||||
test-diff-dwarf/test0-v0.cc \
|
||||
test-diff-dwarf/test0-v0.o \
|
||||
@@ -610,6 +753,8 @@ test-read-dwarf/PR29443-missing-xx.o.abi \
|
||||
test-read-dwarf/test-fallback.abi \
|
||||
test-read-dwarf/test-fallback.c \
|
||||
test-read-dwarf/test-fallback.o \
|
||||
test-read-dwarf/PR29692-kdelibs3-libkjava.so.1.0.0 \
|
||||
test-read-dwarf/PR29692-kdelibs3-libkjava.so.1.0.0.abi \
|
||||
\
|
||||
test-read-ctf/test0 \
|
||||
test-read-ctf/test0.abi \
|
||||
@@ -643,6 +788,7 @@ test-read-ctf/test9.c \
|
||||
test-read-ctf/test9.o \
|
||||
test-read-ctf/test9.o.abi \
|
||||
test-read-ctf/test-alias.c \
|
||||
test-read-ctf/test-alias.o \
|
||||
test-read-ctf/test-alias.o.abi \
|
||||
test-read-ctf/test-ambiguous-struct-A.c \
|
||||
test-read-ctf/test-ambiguous-struct-A.o \
|
||||
@@ -720,6 +866,13 @@ test-read-ctf/test-array-size.abi \
|
||||
test-read-ctf/test-array-size.c \
|
||||
test-read-ctf/test-array-size.o \
|
||||
\
|
||||
test-read-btf/test0.c \
|
||||
test-read-btf/test0.o \
|
||||
test-read-btf/test0.o.abi \
|
||||
test-read-btf/test1.c \
|
||||
test-read-btf/test1.o \
|
||||
test-read-btf/test1.o.abi \
|
||||
\
|
||||
test-annotate/test0.abi \
|
||||
test-annotate/test1.abi \
|
||||
test-annotate/test2.so.abi \
|
||||
@@ -1130,6 +1283,16 @@ test-diff-filter/test-PR29387-v0.c \
|
||||
test-diff-filter/test-PR29387-v1.o \
|
||||
test-diff-filter/test-PR29387-v0.o \
|
||||
test-diff-filter/test-PR29387-report.txt \
|
||||
test-diff-filter/test-PR29811-unknown-size-array-dwarf-ctf-CTF.o \
|
||||
test-diff-filter/test-PR29811-unknown-size-array-dwarf-ctf-DWARF.o \
|
||||
test-diff-filter/test-PR29811-unknown-size-array-dwarf-ctf-report.txt \
|
||||
test-diff-filter/test-PR29811-unknown-size-array-dwarf-ctf.c \
|
||||
test-diff-filter/test-PR29811-0-report-0.txt \
|
||||
test-diff-filter/test-PR29811-0-report-1.txt \
|
||||
test-diff-filter/test-PR29811-0-v0.o \
|
||||
test-diff-filter/test-PR29811-0-v1.o \
|
||||
test-diff-filter/test-PR29811-0-v0.c \
|
||||
test-diff-filter/test-PR29811-0-v1.c \
|
||||
\
|
||||
test-diff-suppr/test0-type-suppr-v0.cc \
|
||||
test-diff-suppr/test0-type-suppr-v1.cc \
|
||||
@@ -1260,28 +1423,38 @@ test-diff-suppr/test10-changed-parm-c-v1.c \
|
||||
test-diff-suppr/libtest11-add-data-member-v0.so \
|
||||
test-diff-suppr/libtest11-add-data-member-v1.so \
|
||||
test-diff-suppr/test11-add-data-member-0.suppr \
|
||||
test-diff-suppr/test11-add-data-member-0.1.suppr \
|
||||
test-diff-suppr/test11-add-data-member-1.suppr \
|
||||
test-diff-suppr/test11-add-data-member-1.1.suppr \
|
||||
test-diff-suppr/test11-add-data-member-2.suppr \
|
||||
test-diff-suppr/test11-add-data-member-2.1.suppr \
|
||||
test-diff-suppr/test11-add-data-member-3.suppr \
|
||||
test-diff-suppr/test11-add-data-member-3.1.suppr \
|
||||
test-diff-suppr/test11-add-data-member-4.suppr \
|
||||
test-diff-suppr/test11-add-data-member-4.1.suppr \
|
||||
test-diff-suppr/test11-add-data-member-report-0.txt \
|
||||
test-diff-suppr/test11-add-data-member-report-1.txt \
|
||||
test-diff-suppr/test11-add-data-member-report-1.1.txt \
|
||||
test-diff-suppr/test11-add-data-member-v0.cc \
|
||||
test-diff-suppr/test11-add-data-member-v1.cc \
|
||||
test-diff-suppr/libtest12-add-data-member-v0.so \
|
||||
test-diff-suppr/libtest12-add-data-member-v1.so \
|
||||
test-diff-suppr/test12-add-data-member-0.suppr \
|
||||
test-diff-suppr/test12-add-data-member-0.1.suppr \
|
||||
test-diff-suppr/test12-add-data-member-1.suppr \
|
||||
test-diff-suppr/test12-add-data-member-report-0.txt \
|
||||
test-diff-suppr/test12-add-data-member-report-1.txt \
|
||||
test-diff-suppr/test12-add-data-member-report-1.1.txt \
|
||||
test-diff-suppr/test12-add-data-member-report-2.txt \
|
||||
test-diff-suppr/test12-add-data-member-v0.cc \
|
||||
test-diff-suppr/test12-add-data-member-v1.cc \
|
||||
test-diff-suppr/libtest13-suppr-through-pointer-v0.so \
|
||||
test-diff-suppr/libtest13-suppr-through-pointer-v1.so \
|
||||
test-diff-suppr/test13-suppr-through-pointer-0.suppr \
|
||||
test-diff-suppr/test13-suppr-through-pointer-0.1.suppr \
|
||||
test-diff-suppr/test13-suppr-through-pointer-report-0.txt \
|
||||
test-diff-suppr/test13-suppr-through-pointer-report-1.txt \
|
||||
test-diff-suppr/test13-suppr-through-pointer-report-1.1.txt \
|
||||
test-diff-suppr/test13-suppr-through-pointer-v0.cc \
|
||||
test-diff-suppr/test13-suppr-through-pointer-v1.cc \
|
||||
test-diff-suppr/test14-suppr-non-redundant-v0.o \
|
||||
@@ -1584,9 +1757,11 @@ test-diff-suppr/test34-v1.c \
|
||||
test-diff-suppr/libtest35-leaf-v0.so \
|
||||
test-diff-suppr/libtest35-leaf-v1.so \
|
||||
test-diff-suppr/test35-leaf-report-0.txt \
|
||||
test-diff-suppr/test35-leaf-report-0.1.txt \
|
||||
test-diff-suppr/test35-leaf-v0.cc \
|
||||
test-diff-suppr/test35-leaf-v1.cc \
|
||||
test-diff-suppr/test35-leaf.suppr \
|
||||
test-diff-suppr/test35-leaf.1.suppr \
|
||||
test-diff-suppr/libtest36-leaf-v0.so \
|
||||
test-diff-suppr/libtest36-leaf-v1.so \
|
||||
test-diff-suppr/test36-leaf-report-0.txt \
|
||||
@@ -1614,6 +1789,21 @@ test-diff-suppr/test39-public-headers-dir/test39-header-v0.h \
|
||||
test-diff-suppr/test39-public-headers-dir/test39-header-v1.h \
|
||||
test-diff-suppr/libtest40-enumerator-changes-v0.so \
|
||||
test-diff-suppr/libtest40-enumerator-changes-v1.so \
|
||||
test-diff-suppr/test40.1-enumerator-changes-enumerator-changes-1.suppr \
|
||||
test-diff-suppr/test40.1-enumerator-changes-enumerator-changes-2.suppr \
|
||||
test-diff-suppr/test40.1-enumerator-changes-enumerator-changes-3.suppr \
|
||||
test-diff-suppr/test40.1-enumerator-changes-enumerator-changes-4.suppr \
|
||||
test-diff-suppr/test40.1-enumerator-changes-enumerator-changes-5.suppr \
|
||||
test-diff-suppr/test40.1-enumerator-changes-enumerator-changes-report-0.txt \
|
||||
test-diff-suppr/test40.1-enumerator-changes-enumerator-changes-report-1.txt \
|
||||
test-diff-suppr/test40.1-enumerator-changes-enumerator-changes-report-2.txt \
|
||||
test-diff-suppr/test40.1-enumerator-changes-enumerator-changes-report-3.txt \
|
||||
test-diff-suppr/test40.1-enumerator-changes-enumerator-changes-report-4.txt \
|
||||
test-diff-suppr/test40.1-enumerator-changes-enumerator-changes-report-5.txt \
|
||||
test-diff-suppr/test40.1-enumerator-changes-enumerator-changes-v0.c \
|
||||
test-diff-suppr/test40.1-enumerator-changes-enumerator-changes-v1.c \
|
||||
test-diff-suppr/test40.1-enumerator-changes-enumerator-changes-v0.o \
|
||||
test-diff-suppr/test40.1-enumerator-changes-enumerator-changes-v1.o \
|
||||
test-diff-suppr/libtest41-enumerator-changes-v0.so \
|
||||
test-diff-suppr/libtest41-enumerator-changes-v1.so \
|
||||
test-diff-suppr/test40-enumerator-changes-0.suppr \
|
||||
@@ -1706,6 +1896,40 @@ test-diff-suppr/PR28073/PR28073.before.o \
|
||||
test-diff-suppr/PR28073/PR28073.before.o.abi \
|
||||
test-diff-suppr/PR28073/PR28073.c \
|
||||
test-diff-suppr/PR28073/bitfield.suppr \
|
||||
test-diff-suppr/has-data-member-1.suppr \
|
||||
test-diff-suppr/has-data-member-2.suppr \
|
||||
test-diff-suppr/has-data-member-3.suppr \
|
||||
test-diff-suppr/has-data-member-4.suppr \
|
||||
test-diff-suppr/has-data-member-5.suppr \
|
||||
test-diff-suppr/has-data-member-6.suppr \
|
||||
test-diff-suppr/has-data-member-7.suppr \
|
||||
test-diff-suppr/test-has-data-member-output-1.txt \
|
||||
test-diff-suppr/test-has-data-member-output-2.txt \
|
||||
test-diff-suppr/test-has-data-member-v0.cc \
|
||||
test-diff-suppr/test-has-data-member-v0.o \
|
||||
test-diff-suppr/test-has-data-member-v1.cc \
|
||||
test-diff-suppr/test-has-data-member-v1.o \
|
||||
test-diff-suppr/test-has-data-member-inserted-between-1-report-1.txt \
|
||||
test-diff-suppr/test-has-data-member-inserted-between-1-report-2.txt \
|
||||
test-diff-suppr/test-has-data-member-inserted-between-1-report-3.txt \
|
||||
test-diff-suppr/test-has-data-member-inserted-between-1-report-4.txt \
|
||||
test-diff-suppr/test-has-data-member-inserted-between-1-v0.c \
|
||||
test-diff-suppr/test-has-data-member-inserted-between-1-v0.o \
|
||||
test-diff-suppr/test-has-data-member-inserted-between-1-v1.c \
|
||||
test-diff-suppr/test-has-data-member-inserted-between-1-v1.o \
|
||||
test-diff-suppr/test-has-data-member-inserted-between-1-v2.c \
|
||||
test-diff-suppr/test-has-data-member-inserted-between-1-v2.o \
|
||||
test-diff-suppr/test-has-data-member-inserted-between-1-v3.c \
|
||||
test-diff-suppr/test-has-data-member-inserted-between-1-v3.o \
|
||||
test-diff-suppr/test-has-data-member-inserted-between-1-v4.c \
|
||||
test-diff-suppr/test-has-data-member-inserted-between-1-v4.o \
|
||||
test-diff-suppr/test-has-data-member-inserted-between-1.suppr \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-1-report-1.txt \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-1-v0.c \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-1-v0.o \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-1-v1.c \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-1-v1.o \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-1.1.suppr \
|
||||
\
|
||||
test-diff-dwarf-abixml/test0-pr19026-libvtkIOSQL-6.1.so.1 \
|
||||
test-diff-dwarf-abixml/test0-pr19026-libvtkIOSQL-6.1.so.1.abi \
|
||||
@@ -1713,6 +1937,22 @@ test-diff-dwarf-abixml/test0-pr19026-libvtkIOSQL-6.1.so.1-report-0.txt \
|
||||
test-diff-dwarf-abixml/PR25409-librte_bus_dpaa.so.20.0 \
|
||||
test-diff-dwarf-abixml/PR25409-librte_bus_dpaa.so.20.0.abi \
|
||||
test-diff-dwarf-abixml/PR25409-librte_bus_dpaa.so.20.0-report-0.txt \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-1-report-2.txt \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-1.2.suppr \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-2-report.1.txt \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-2-report.2.txt \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-2-report.3.txt \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-2-report.txt \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-2-v0.c \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-2-v0.o \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-2-v1.c \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-2-v1.o \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-2.2.suppr \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-2.suppr \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-3-v0.c \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-3-v0.o \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-3-v1.c \
|
||||
test-diff-suppr/test-has-data-member-inserted-at-3-v1.o \
|
||||
\
|
||||
test-lookup-syms/test0.cc \
|
||||
test-lookup-syms/test0.o \
|
||||
@@ -1886,6 +2126,7 @@ test-diff-pkg/dirpkg-3-report-1.txt \
|
||||
test-diff-pkg/dirpkg-3-report-2.txt \
|
||||
test-diff-pkg/dirpkg-3.suppr \
|
||||
test-diff-pkg/symlink-dir-test1-report0.txt \
|
||||
test-diff-pkg/symlink-dir-test1-report1.txt \
|
||||
test-diff-pkg/symlink-dir-test1/dir1/symlinks/foo.o \
|
||||
test-diff-pkg/symlink-dir-test1/dir1/symlinks/libfoo.so \
|
||||
test-diff-pkg/symlink-dir-test1/dir1/targets/foo.c \
|
||||
@@ -2131,6 +2372,7 @@ test-diff-pkg-ctf/cracklib-2.9.6-15-ol8u0.x86_64.rpm \
|
||||
test-diff-pkg-ctf/isl-debuginfo-0.16.1-6.x86_64.rpm \
|
||||
test-diff-pkg-ctf/tarpkg-1-dir1.tar.gz \
|
||||
test-diff-pkg-ctf/symlink-dir-test1-report0.txt \
|
||||
test-diff-pkg-ctf/symlink-dir-test1-report1.txt \
|
||||
\
|
||||
test-fedabipkgdiff/dbus-glib-0.104-3.fc23.x86_64.rpm \
|
||||
test-fedabipkgdiff/dbus-glib-debuginfo-0.104-3.fc23.x86_64.rpm \
|
||||
@@ -2189,6 +2431,8 @@ test-fedabipkgdiff/nss-util/nss-util-3.24.0-2.0.fc25.x86_64.rpm \
|
||||
\
|
||||
test-ini/test01-equal-in-property-string.abignore.expected \
|
||||
test-ini/test01-equal-in-property-string.abignore \
|
||||
test-ini/test02-buggy-property-value.abignore \
|
||||
test-ini/test02-buggy-property-value.abignore.expected \
|
||||
\
|
||||
test-kmi-whitelist/whitelist-with-single-entry \
|
||||
test-kmi-whitelist/whitelist-with-another-single-entry \
|
||||
|
||||
@@ -4,14 +4,14 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
|
||||
2 functions with some indirect sub-type change:
|
||||
|
||||
[C] 'function libapp::S0* libapp::create_s0()' at test0-fn-changed-libapp-v1.cc:61:1 has some indirect sub-type changes:
|
||||
[C] 'function libapp::S0* libapp::create_s0()' at test0-fn-changed-libapp-v0.cc:47:1 has some indirect sub-type changes:
|
||||
return type changed:
|
||||
in pointed to type 'struct libapp::S0' at test0-fn-changed-libapp-v1.cc:10:1:
|
||||
type size changed from 32 to 64 (in bits)
|
||||
1 data member insertion:
|
||||
'char m1', at offset 32 (in bits) at test0-fn-changed-libapp-v1.cc:13:1
|
||||
|
||||
[C] 'function libapp::S1* libapp::create_s1()' at test0-fn-changed-libapp-v1.cc:69:1 has some indirect sub-type changes:
|
||||
[C] 'function libapp::S1* libapp::create_s1()' at test0-fn-changed-libapp-v0.cc:55:1 has some indirect sub-type changes:
|
||||
return type changed:
|
||||
in pointed to type 'struct libapp::S1' at test0-fn-changed-libapp-v1.cc:21:1:
|
||||
type size changed from 32 to 96 (in bits)
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
struct amusement {
|
||||
// declare A as array 7 of int
|
||||
int A[7];
|
||||
// declare B as pointer to int
|
||||
int *B;
|
||||
// declare C as pointer to function (void) returning int
|
||||
int (*C)(void );
|
||||
// declare D as array 7 of array 7 of int
|
||||
int D[7][7];
|
||||
// declare E as array 7 of pointer to int
|
||||
int *E[7];
|
||||
// declare F as array 7 of pointer to function (void) returning int
|
||||
int (*F[7])(void );
|
||||
// declare G as pointer to array 7 of int
|
||||
int (*G)[7];
|
||||
// declare H as pointer to pointer to int
|
||||
int **H;
|
||||
// declare I as pointer to function (void) returning int
|
||||
int (*I)(void );
|
||||
// declare J as pointer to function (void) returning pointer to array 7 of int
|
||||
int (*(*J)(void ))[7];
|
||||
// declare K as pointer to function (void) returning pointer to int
|
||||
int *(*K)(void );
|
||||
// declare L as pointer to function (void) returning pointer to function
|
||||
// (void) returning int
|
||||
int (*(*L)(void ))(void );
|
||||
|
||||
// declare a as array 7 of volatile int
|
||||
volatile int a[7];
|
||||
// declare b as const pointer to volatile int
|
||||
volatile int * const b;
|
||||
// declare c as const pointer to function (void) returning int
|
||||
int (* const c)(void );
|
||||
// declare d as array 7 of array 7 of volatile int
|
||||
volatile int d[7][7];
|
||||
// declare e as array 7 of const pointer to volatile int
|
||||
volatile int * const e[7];
|
||||
// declare f as array 7 of const pointer to function (void) returning int
|
||||
int (* const f[7])(void );
|
||||
// declare g as const pointer to array 7 of volatile int
|
||||
volatile int (* const g)[7];
|
||||
// declare h as const pointer to const pointer to volatile int
|
||||
volatile int * const * const h;
|
||||
// declare i as const pointer to function (void) returning int
|
||||
int (* const i)(void );
|
||||
// declare j as const pointer to function (void) returning pointer to array 7
|
||||
//of volatile int
|
||||
volatile int (*(* const j)(void ))[7];
|
||||
// declare k as const pointer to function (void) returning pointer to
|
||||
//volatile int
|
||||
volatile int *(* const k)(void );
|
||||
// declare l as const pointer to function (void) returning pointer to
|
||||
//function (void) returning int
|
||||
int (*(* const l)(void ))(void );
|
||||
};
|
||||
|
||||
struct amusement * fun(void) { return 0; }
|
||||
|
||||
// declare M as function (void) returning int
|
||||
int M(void ) { return 0; }
|
||||
// declare N as function (void) returning pointer to array 7 of int
|
||||
int (*N(void ))[7] { return 0; }
|
||||
// declare O as function (void) returning pointer to int
|
||||
int *O(void ) { return 0; }
|
||||
// declare P as function (void) returning pointer to function (void) returning
|
||||
//int
|
||||
int (*P(void ))(void ) { return 0; }
|
||||
|
||||
// declare m as function (void) returning int
|
||||
int m(void ) { return 0; }
|
||||
// declare n as function (void) returning pointer to array 7 of volatile int
|
||||
volatile int (*n(void ))[7] { return 0; }
|
||||
// declare o as function (void) returning pointer to volatile int
|
||||
volatile int *o(void ) { return 0; }
|
||||
// declare p as function (void) returning pointer to function (void) returning
|
||||
//int
|
||||
int (*p(void ))(void ) { return 0; }
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
struct amusement {
|
||||
int A;
|
||||
int B;
|
||||
int C;
|
||||
int D;
|
||||
int E;
|
||||
int F;
|
||||
int G;
|
||||
int H;
|
||||
int I;
|
||||
int J;
|
||||
int K;
|
||||
int L;
|
||||
|
||||
int a;
|
||||
int b;
|
||||
int c;
|
||||
int d;
|
||||
int e;
|
||||
int f;
|
||||
int g;
|
||||
int h;
|
||||
int i;
|
||||
int j;
|
||||
int k;
|
||||
int l;
|
||||
};
|
||||
|
||||
struct amusement * fun() { return 0; }
|
||||
|
||||
int M() { return 0; }
|
||||
int N() { return 0; }
|
||||
int O() { return 0; }
|
||||
int P() { return 0; }
|
||||
|
||||
int m() { return 0; }
|
||||
int n() { return 0; }
|
||||
int o() { return 0; }
|
||||
int p() { return 0; }
|
||||
@@ -0,0 +1,12 @@
|
||||
struct S {
|
||||
int (*f01)(int);
|
||||
int (*f02)(const int*);
|
||||
int (*f03)(int* const);
|
||||
int (*f04)(int* restrict);
|
||||
int (*f05)(const int* restrict);
|
||||
int (*f06)(int* restrict const);
|
||||
int (*f07)(int* const restrict);
|
||||
};
|
||||
|
||||
struct S s;
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
struct S {
|
||||
int (*f06)(int* restrict const);
|
||||
int (*f07)(int* const restrict);
|
||||
};
|
||||
|
||||
struct S s;
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
-- Compile this file with:
|
||||
-- gcc -g -c test1.adb
|
||||
|
||||
package body Test1 is
|
||||
|
||||
function First_Function return My_Int_Array is
|
||||
A : My_Int_Array;
|
||||
begin
|
||||
A := (1,2,3,4,5,6);
|
||||
return A;
|
||||
end First_Function;
|
||||
|
||||
|
||||
function Second_Function return My_Index is
|
||||
begin
|
||||
return My_Index'Last;
|
||||
end Second_Function;
|
||||
|
||||
end Test1;
|
||||
@@ -0,0 +1,11 @@
|
||||
package Test1 is
|
||||
|
||||
type My_Int is range 0 .. 1000;
|
||||
type My_Index is range 0 .. 5;
|
||||
type My_Int_Array is array (My_Index) of My_Int;
|
||||
|
||||
function First_Function return My_Int_Array;
|
||||
|
||||
function Second_Function return My_Index;
|
||||
|
||||
end Test1;
|
||||
@@ -0,0 +1,19 @@
|
||||
-- Compile this file with:
|
||||
-- gcc -g -c test1.adb
|
||||
|
||||
package body Test1 is
|
||||
|
||||
function First_Function return My_Int_Array is
|
||||
A : My_Int_Array;
|
||||
begin
|
||||
A := (1,2,3,4,5,6,7);
|
||||
return A;
|
||||
end First_Function;
|
||||
|
||||
|
||||
function Second_Function return My_Index is
|
||||
begin
|
||||
return My_Index'Last;
|
||||
end Second_Function;
|
||||
|
||||
end Test1;
|
||||
@@ -0,0 +1,11 @@
|
||||
package Test1 is
|
||||
|
||||
type My_Int is range 0 .. 1000;
|
||||
type My_Index is range 0 .. 6;
|
||||
type My_Int_Array is array (My_Index) of My_Int;
|
||||
|
||||
function First_Function return My_Int_Array;
|
||||
|
||||
function Second_Function return My_Index;
|
||||
|
||||
end Test1;
|
||||
@@ -0,0 +1,17 @@
|
||||
-- Compile this file with:
|
||||
-- gcc -g -c test.adb
|
||||
|
||||
package body Test is
|
||||
|
||||
function First_Function (A: My_Int_Array) return My_Int_Array is
|
||||
begin
|
||||
return A;
|
||||
end First_Function;
|
||||
|
||||
|
||||
function Second_Function (A: My_Index) return My_Index is
|
||||
begin
|
||||
return My_Index'Last;
|
||||
end Second_Function;
|
||||
|
||||
end Test;
|
||||
@@ -0,0 +1,11 @@
|
||||
package Test is
|
||||
|
||||
type My_Int is range 0 .. 1000;
|
||||
type My_Index is range 0 .. 100;
|
||||
type My_Int_Array is array (My_Index) of My_Int;
|
||||
|
||||
function First_Function (A: My_Int_Array) return My_Int_Array;
|
||||
|
||||
function Second_Function (A: My_Index) return My_Index;
|
||||
|
||||
end Test;
|
||||
@@ -0,0 +1,17 @@
|
||||
-- Compile this file with:
|
||||
-- gcc -g -c test.adb
|
||||
|
||||
package body Test is
|
||||
|
||||
function First_Function (A: My_Int_Array) return My_Int_Array is
|
||||
begin
|
||||
return A;
|
||||
end First_Function;
|
||||
|
||||
|
||||
function Second_Function (A: My_Index) return My_Index is
|
||||
begin
|
||||
return My_Index'Last;
|
||||
end Second_Function;
|
||||
|
||||
end Test;
|
||||
@@ -0,0 +1,11 @@
|
||||
package Test is
|
||||
|
||||
type My_Int is range 0 .. 1000;
|
||||
type My_Index is range 0 .. 200;
|
||||
type My_Int_Array is array (My_Index) of My_Int;
|
||||
|
||||
function First_Function (A: My_Int_Array) return My_Int_Array;
|
||||
|
||||
function Second_Function (A: My_Index) return My_Index;
|
||||
|
||||
end Test;
|
||||
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Compile this to emit BTF debug info with:
|
||||
*
|
||||
* gcc -c -gbtf test0.c
|
||||
*/
|
||||
|
||||
typedef enum ENUM_TYPE
|
||||
{
|
||||
E0_ENUM_TYPE = 0,
|
||||
E1_ENUM_TYPE= 1
|
||||
} ENUM_TYPE;
|
||||
|
||||
typedef enum ANOTHER_ENUM_TYPE
|
||||
{
|
||||
E0_ANOTHER_ENUM_TYPE = 0,
|
||||
E1_ANOTHER_ENUM_TYPE= 1
|
||||
} ANOTHER_ENUM_TYPE;
|
||||
|
||||
typedef union u_type
|
||||
{
|
||||
ENUM_TYPE *m0;
|
||||
ANOTHER_ENUM_TYPE *m1;
|
||||
} u_type;
|
||||
|
||||
typedef struct foo_type
|
||||
{
|
||||
const int *m0;
|
||||
volatile char *m1;
|
||||
unsigned *m2;
|
||||
const volatile unsigned char *m3;
|
||||
float m4[10];
|
||||
volatile const u_type *m5;
|
||||
} foo_type;
|
||||
|
||||
void
|
||||
fn0(const foo_type* p __attribute__((unused)))
|
||||
{
|
||||
}
|
||||
|
||||
struct foo_type foos[2] = {0};
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Compile this to emit BTF debug info with:
|
||||
*
|
||||
* gcc -c -gbtf test0.c
|
||||
*/
|
||||
|
||||
typedef enum ENUM_TYPE
|
||||
{
|
||||
E0_ENUM_TYPE = 0,
|
||||
E1_ENUM_TYPE= 1,
|
||||
E2_ENUM_TYPE= 2
|
||||
} ENUM_TYPE;
|
||||
|
||||
typedef enum ANOTHER_ENUM_TYPE
|
||||
{
|
||||
E0_ANOTHER_ENUM_TYPE = 0,
|
||||
E1_ANOTHER_ENUM_TYPE= 1,
|
||||
E2_ANOTHER_ENUM_TYPE= 2
|
||||
} ANOTHER_ENUM_TYPE;
|
||||
|
||||
typedef union u_type
|
||||
{
|
||||
ENUM_TYPE *m0;
|
||||
ANOTHER_ENUM_TYPE *m1;
|
||||
char *m2;
|
||||
} u_type;
|
||||
|
||||
typedef struct foo_type
|
||||
{
|
||||
int *m0;
|
||||
volatile char *m1;
|
||||
unsigned *m2;
|
||||
const volatile unsigned char *m3;
|
||||
float m4[10];
|
||||
volatile const u_type *m5;
|
||||
} foo_type;
|
||||
|
||||
int
|
||||
fn0(foo_type* p, int a)
|
||||
{
|
||||
*p->m0 = a;
|
||||
return a;
|
||||
}
|
||||
|
||||
struct foo_type foos[2] = {0};
|
||||
@@ -3,7 +3,7 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
|
||||
1 function with some indirect sub-type change:
|
||||
|
||||
[C] 'function void fun(S*)' at qualifier-typedef-array-v1.c:37:1 has some indirect sub-type changes:
|
||||
[C] 'function void fun(S*)' at qualifier-typedef-array-v0.c:37:1 has some indirect sub-type changes:
|
||||
parameter 1 of type 'S*' has sub-type changes:
|
||||
in pointed to type 'struct S' at qualifier-typedef-array-v1.c:10:1:
|
||||
type size hasn't changed
|
||||
@@ -47,39 +47,39 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
underlying type 'typedef A' at qualifier-typedef-array-v0.c:1:1 changed:
|
||||
entity changed from 'typedef A' to compatible type 'void*[7]'
|
||||
type of 'C v_c' changed:
|
||||
entity changed from 'typedef C' to compatible type 'const volatile void*[7]'
|
||||
entity changed from 'typedef C' to compatible type 'void* const volatile[7]'
|
||||
array element type 'void* const' changed:
|
||||
'void* const' changed to 'const volatile void*'
|
||||
type name changed from 'void* const[7]' to 'const volatile void*[7]'
|
||||
'void* const' changed to 'void* const volatile'
|
||||
type name changed from 'void* const[7]' to 'void* const volatile[7]'
|
||||
type size hasn't changed
|
||||
type of 'C r_c' changed:
|
||||
entity changed from 'typedef C' to compatible type 'restrict const void*[7]'
|
||||
entity changed from 'typedef C' to compatible type 'void* restrict const[7]'
|
||||
array element type 'void* const' changed:
|
||||
'void* const' changed to 'restrict const void*'
|
||||
type name changed from 'void* const[7]' to 'restrict const void*[7]'
|
||||
'void* const' changed to 'void* restrict const'
|
||||
type name changed from 'void* const[7]' to 'void* restrict const[7]'
|
||||
type size hasn't changed
|
||||
type of 'D v_d' changed:
|
||||
entity changed from 'typedef D' to compatible type 'const volatile void*[7]'
|
||||
entity changed from 'typedef D' to compatible type 'void* const volatile[7]'
|
||||
array element type 'void* const' changed:
|
||||
'void* const' changed to 'const volatile void*'
|
||||
type name changed from 'void* const[7]' to 'const volatile void*[7]'
|
||||
'void* const' changed to 'void* const volatile'
|
||||
type name changed from 'void* const[7]' to 'void* const volatile[7]'
|
||||
type size hasn't changed
|
||||
type of 'D r_d' changed:
|
||||
entity changed from 'typedef D' to compatible type 'restrict const void*[7]'
|
||||
entity changed from 'typedef D' to compatible type 'void* restrict const[7]'
|
||||
array element type 'void* const' changed:
|
||||
'void* const' changed to 'restrict const void*'
|
||||
type name changed from 'void* const[7]' to 'restrict const void*[7]'
|
||||
'void* const' changed to 'void* restrict const'
|
||||
type name changed from 'void* const[7]' to 'void* restrict const[7]'
|
||||
type size hasn't changed
|
||||
type of 'E r_e' changed:
|
||||
entity changed from 'typedef E' to compatible type 'restrict const volatile void*[7]'
|
||||
array element type 'const volatile void*' changed:
|
||||
'const volatile void*' changed to 'restrict const volatile void*'
|
||||
type name changed from 'const volatile void*[7]' to 'restrict const volatile void*[7]'
|
||||
entity changed from 'typedef E' to compatible type 'void* restrict const volatile[7]'
|
||||
array element type 'void* const volatile' changed:
|
||||
'void* const volatile' changed to 'void* restrict const volatile'
|
||||
type name changed from 'void* const volatile[7]' to 'void* restrict const volatile[7]'
|
||||
type size hasn't changed
|
||||
type of 'F r_f' changed:
|
||||
entity changed from 'typedef F' to compatible type 'restrict const volatile void*[7]'
|
||||
array element type 'const volatile void*' changed:
|
||||
'const volatile void*' changed to 'restrict const volatile void*'
|
||||
type name changed from 'const volatile void*[7]' to 'restrict const volatile void*[7]'
|
||||
entity changed from 'typedef F' to compatible type 'void* restrict const volatile[7]'
|
||||
array element type 'void* const volatile' changed:
|
||||
'void* const volatile' changed to 'void* restrict const volatile'
|
||||
type name changed from 'void* const volatile[7]' to 'void* restrict const volatile[7]'
|
||||
type size hasn't changed
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
|
||||
1 function with some indirect sub-type change:
|
||||
|
||||
[C] 'function void foo(E)' at test-PR28316-v1.cc:9:1 has some indirect sub-type changes:
|
||||
[C] 'function void foo(E)' at test-PR28316-v0.cc:8:1 has some indirect sub-type changes:
|
||||
parameter 1 of type 'typedef E' has sub-type changes:
|
||||
underlying type 'enum E' at test-PR28316-v0.cc:1:1 changed:
|
||||
type size hasn't changed
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Core suppression rules: DO NOT TOUCH ;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
[suppress_function]
|
||||
symbol_version = EXPERIMENTAL
|
||||
[suppress_variable]
|
||||
symbol_version = EXPERIMENTAL
|
||||
|
||||
[suppress_function]
|
||||
symbol_version = INTERNAL
|
||||
[suppress_variable]
|
||||
symbol_version = INTERNAL
|
||||
|
||||
; Ignore generated PMD information strings
|
||||
[suppress_variable]
|
||||
name_regexp = _pmd_info$
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Special rules to skip libraries ;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;
|
||||
; This is not a libabigail rule (see check-abi.sh).
|
||||
; This is used for driver removal and other special cases like mlx glue libs.
|
||||
;
|
||||
; SKIP_LIBRARY=librte_common_mlx5_glue
|
||||
; SKIP_LIBRARY=librte_net_mlx4_glue
|
||||
; SKIP_LIBRARY=librte_net_liquidio
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Experimental APIs exceptions ;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Ignore changes to asymmetric crypto API which is experimental
|
||||
[suppress_type]
|
||||
name = rte_crypto_asym_op
|
||||
[suppress_type]
|
||||
type_kind = enum
|
||||
changed_enumerators = RTE_CRYPTO_ASYM_XFORM_ECPM, RTE_CRYPTO_ASYM_XFORM_TYPE_LIST_END
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Temporary exceptions till next major ABI version ;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Ignore changes to rte_security_ops which are internal to PMD.
|
||||
[suppress_type]
|
||||
name = rte_security_ops
|
||||
@@ -0,0 +1,409 @@
|
||||
/* SPDX-License-Identifier: BSD-3-Clause
|
||||
* Copyright(c) 2010-2017 Intel Corporation
|
||||
*/
|
||||
|
||||
#ifndef _RTE_LOG_H_
|
||||
#define _RTE_LOG_H_
|
||||
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* RTE Logs API
|
||||
*
|
||||
* This file provides a log API to RTE applications.
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <rte_common.h>
|
||||
#include <rte_config.h>
|
||||
|
||||
/* SDK log type */
|
||||
#define RTE_LOGTYPE_EAL 0 /**< Log related to eal. */
|
||||
#define RTE_LOGTYPE_MALLOC 1 /**< Log related to malloc. */
|
||||
#define RTE_LOGTYPE_RING 2 /**< Log related to ring. */
|
||||
#define RTE_LOGTYPE_MEMPOOL 3 /**< Log related to mempool. */
|
||||
#define RTE_LOGTYPE_TIMER 4 /**< Log related to timers. */
|
||||
#define RTE_LOGTYPE_PMD 5 /**< Log related to poll mode driver. */
|
||||
#define RTE_LOGTYPE_HASH 6 /**< Log related to hash table. */
|
||||
#define RTE_LOGTYPE_LPM 7 /**< Log related to LPM. */
|
||||
#define RTE_LOGTYPE_KNI 8 /**< Log related to KNI. */
|
||||
#define RTE_LOGTYPE_ACL 9 /**< Log related to ACL. */
|
||||
#define RTE_LOGTYPE_POWER 10 /**< Log related to power. */
|
||||
#define RTE_LOGTYPE_METER 11 /**< Log related to QoS meter. */
|
||||
#define RTE_LOGTYPE_SCHED 12 /**< Log related to QoS port scheduler. */
|
||||
#define RTE_LOGTYPE_PORT 13 /**< Log related to port. */
|
||||
#define RTE_LOGTYPE_TABLE 14 /**< Log related to table. */
|
||||
#define RTE_LOGTYPE_PIPELINE 15 /**< Log related to pipeline. */
|
||||
#define RTE_LOGTYPE_MBUF 16 /**< Log related to mbuf. */
|
||||
#define RTE_LOGTYPE_CRYPTODEV 17 /**< Log related to cryptodev. */
|
||||
#define RTE_LOGTYPE_EFD 18 /**< Log related to EFD. */
|
||||
#define RTE_LOGTYPE_EVENTDEV 19 /**< Log related to eventdev. */
|
||||
#define RTE_LOGTYPE_GSO 20 /**< Log related to GSO. */
|
||||
|
||||
/* these log types can be used in an application */
|
||||
#define RTE_LOGTYPE_USER1 24 /**< User-defined log type 1. */
|
||||
#define RTE_LOGTYPE_USER2 25 /**< User-defined log type 2. */
|
||||
#define RTE_LOGTYPE_USER3 26 /**< User-defined log type 3. */
|
||||
#define RTE_LOGTYPE_USER4 27 /**< User-defined log type 4. */
|
||||
#define RTE_LOGTYPE_USER5 28 /**< User-defined log type 5. */
|
||||
#define RTE_LOGTYPE_USER6 29 /**< User-defined log type 6. */
|
||||
#define RTE_LOGTYPE_USER7 30 /**< User-defined log type 7. */
|
||||
#define RTE_LOGTYPE_USER8 31 /**< User-defined log type 8. */
|
||||
|
||||
/** First identifier for extended logs */
|
||||
#define RTE_LOGTYPE_FIRST_EXT_ID 32
|
||||
|
||||
/* Can't use 0, as it gives compiler warnings */
|
||||
#define RTE_LOG_EMERG 1U /**< System is unusable. */
|
||||
#define RTE_LOG_ALERT 2U /**< Action must be taken immediately. */
|
||||
#define RTE_LOG_CRIT 3U /**< Critical conditions. */
|
||||
#define RTE_LOG_ERR 4U /**< Error conditions. */
|
||||
#define RTE_LOG_WARNING 5U /**< Warning conditions. */
|
||||
#define RTE_LOG_NOTICE 6U /**< Normal but significant condition. */
|
||||
#define RTE_LOG_INFO 7U /**< Informational. */
|
||||
#define RTE_LOG_DEBUG 8U /**< Debug-level messages. */
|
||||
#define RTE_LOG_MAX RTE_LOG_DEBUG /**< Most detailed log level. */
|
||||
|
||||
/**
|
||||
* Change the stream that will be used by the logging system.
|
||||
*
|
||||
* This can be done at any time. The f argument represents the stream
|
||||
* to be used to send the logs. If f is NULL, the default output is
|
||||
* used (stderr).
|
||||
*
|
||||
* @param f
|
||||
* Pointer to the stream.
|
||||
* @return
|
||||
* - 0 on success.
|
||||
* - Negative on error.
|
||||
*/
|
||||
int rte_openlog_stream(FILE *f);
|
||||
|
||||
/**
|
||||
* Retrieve the stream used by the logging system (see rte_openlog_stream()
|
||||
* to change it).
|
||||
*
|
||||
* @return
|
||||
* Pointer to the stream.
|
||||
*/
|
||||
FILE *rte_log_get_stream(void);
|
||||
|
||||
/**
|
||||
* Set the global log level.
|
||||
*
|
||||
* After this call, logs with a level lower or equal than the level
|
||||
* passed as argument will be displayed.
|
||||
*
|
||||
* @param level
|
||||
* Log level. A value between RTE_LOG_EMERG (1) and RTE_LOG_DEBUG (8).
|
||||
*/
|
||||
void rte_log_set_global_level(uint32_t level);
|
||||
|
||||
/**
|
||||
* Get the global log level.
|
||||
*
|
||||
* @return
|
||||
* The current global log level.
|
||||
*/
|
||||
uint32_t rte_log_get_global_level(void);
|
||||
|
||||
/**
|
||||
* Get the log level for a given type.
|
||||
*
|
||||
* @param logtype
|
||||
* The log type identifier.
|
||||
* @return
|
||||
* 0 on success, a negative value if logtype is invalid.
|
||||
*/
|
||||
int rte_log_get_level(uint32_t logtype);
|
||||
|
||||
/**
|
||||
* For a given `logtype`, check if a log with `loglevel` can be printed.
|
||||
*
|
||||
* @param logtype
|
||||
* The log type identifier
|
||||
* @param loglevel
|
||||
* Log level. A value between RTE_LOG_EMERG (1) and RTE_LOG_DEBUG (8).
|
||||
* @return
|
||||
* Returns 'true' if log can be printed and 'false' if it can't.
|
||||
*/
|
||||
bool rte_log_can_log(uint32_t logtype, uint32_t loglevel);
|
||||
|
||||
/**
|
||||
* Set the log level for a given type based on globbing pattern.
|
||||
*
|
||||
* @param pattern
|
||||
* The globbing pattern identifying the log type.
|
||||
* @param level
|
||||
* The level to be set.
|
||||
* @return
|
||||
* 0 on success, a negative value if level is invalid.
|
||||
*/
|
||||
int rte_log_set_level_pattern(const char *pattern, uint32_t level);
|
||||
|
||||
/**
|
||||
* Set the log level for a given type based on regular expression.
|
||||
*
|
||||
* @param regex
|
||||
* The regular expression identifying the log type.
|
||||
* @param level
|
||||
* The level to be set.
|
||||
* @return
|
||||
* 0 on success, a negative value if level is invalid.
|
||||
*/
|
||||
int rte_log_set_level_regexp(const char *regex, uint32_t level);
|
||||
|
||||
/**
|
||||
* Set the log level for a given type.
|
||||
*
|
||||
* @param logtype
|
||||
* The log type identifier.
|
||||
* @param level
|
||||
* The level to be set.
|
||||
* @return
|
||||
* 0 on success, a negative value if logtype or level is invalid.
|
||||
*/
|
||||
int rte_log_set_level(uint32_t logtype, uint32_t level);
|
||||
|
||||
/**
|
||||
* Get the current loglevel for the message being processed.
|
||||
*
|
||||
* Before calling the user-defined stream for logging, the log
|
||||
* subsystem sets a per-lcore variable containing the loglevel and the
|
||||
* logtype of the message being processed. This information can be
|
||||
* accessed by the user-defined log output function through this
|
||||
* function.
|
||||
*
|
||||
* @return
|
||||
* The loglevel of the message being processed.
|
||||
*/
|
||||
int rte_log_cur_msg_loglevel(void);
|
||||
|
||||
/**
|
||||
* Get the current logtype for the message being processed.
|
||||
*
|
||||
* Before calling the user-defined stream for logging, the log
|
||||
* subsystem sets a per-lcore variable containing the loglevel and the
|
||||
* logtype of the message being processed. This information can be
|
||||
* accessed by the user-defined log output function through this
|
||||
* function.
|
||||
*
|
||||
* @return
|
||||
* The logtype of the message being processed.
|
||||
*/
|
||||
int rte_log_cur_msg_logtype(void);
|
||||
|
||||
/**
|
||||
* Register a dynamic log type
|
||||
*
|
||||
* If a log is already registered with the same type, the returned value
|
||||
* is the same than the previous one.
|
||||
*
|
||||
* @param name
|
||||
* The string identifying the log type.
|
||||
* @return
|
||||
* - >0: success, the returned value is the log type identifier.
|
||||
* - (-ENOMEM): cannot allocate memory.
|
||||
*/
|
||||
int rte_log_register(const char *name);
|
||||
|
||||
/**
|
||||
* Register a dynamic log type and try to pick its level from EAL options
|
||||
*
|
||||
* rte_log_register() is called inside. If successful, the function tries
|
||||
* to search for matching regexp in the list of EAL log level options and
|
||||
* pick the level from the last matching entry. If nothing can be applied
|
||||
* from the list, the level will be set to the user-defined default value.
|
||||
*
|
||||
* @param name
|
||||
* Name for the log type to be registered
|
||||
* @param level_def
|
||||
* Fallback level to be set if the global list has no matching options
|
||||
* @return
|
||||
* - >=0: the newly registered log type
|
||||
* - <0: rte_log_register() error value
|
||||
*/
|
||||
int rte_log_register_type_and_pick_level(const char *name, uint32_t level_def);
|
||||
|
||||
/**
|
||||
* Dump name of each logtype, one per line.
|
||||
*
|
||||
* @param out
|
||||
* Stream where the list is sent.
|
||||
* @param prefix
|
||||
* String preceding each logtype in the output.
|
||||
*/
|
||||
void rte_log_list_types(FILE *out, const char *prefix);
|
||||
|
||||
/**
|
||||
* Dump log information.
|
||||
*
|
||||
* Dump the global level and the registered log types.
|
||||
*
|
||||
* @param f
|
||||
* The output stream where the dump should be sent.
|
||||
*/
|
||||
void rte_log_dump(FILE *f);
|
||||
|
||||
/**
|
||||
* Generates a log message.
|
||||
*
|
||||
* The message will be sent in the stream defined by the previous call
|
||||
* to rte_openlog_stream().
|
||||
*
|
||||
* The level argument determines if the log should be displayed or
|
||||
* not, depending on the loglevel settings.
|
||||
*
|
||||
* The preferred alternative is the RTE_LOG() because it adds the
|
||||
* level and type in the logged string.
|
||||
*
|
||||
* @param level
|
||||
* Log level. A value between RTE_LOG_EMERG (1) and RTE_LOG_DEBUG (8).
|
||||
* @param logtype
|
||||
* The log type, for example, RTE_LOGTYPE_EAL.
|
||||
* @param format
|
||||
* The format string, as in printf(3), followed by the variable arguments
|
||||
* required by the format.
|
||||
* @return
|
||||
* - 0: Success.
|
||||
* - Negative on error.
|
||||
*/
|
||||
int rte_log(uint32_t level, uint32_t logtype, const char *format, ...)
|
||||
#ifdef __GNUC__
|
||||
#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 2))
|
||||
__rte_cold
|
||||
#endif
|
||||
#endif
|
||||
__rte_format_printf(3, 4);
|
||||
|
||||
/**
|
||||
* Generates a log message.
|
||||
*
|
||||
* The message will be sent in the stream defined by the previous call
|
||||
* to rte_openlog_stream().
|
||||
*
|
||||
* The level argument determines if the log should be displayed or
|
||||
* not, depending on the loglevel settings. A trailing
|
||||
* newline may be added if needed.
|
||||
*
|
||||
* The preferred alternative is the RTE_LOG() because it adds the
|
||||
* level and type in the logged string.
|
||||
*
|
||||
* @param level
|
||||
* Log level. A value between RTE_LOG_EMERG (1) and RTE_LOG_DEBUG (8).
|
||||
* @param logtype
|
||||
* The log type, for example, RTE_LOGTYPE_EAL.
|
||||
* @param format
|
||||
* The format string, as in printf(3), followed by the variable arguments
|
||||
* required by the format.
|
||||
* @param ap
|
||||
* The va_list of the variable arguments required by the format.
|
||||
* @return
|
||||
* - 0: Success.
|
||||
* - Negative on error.
|
||||
*/
|
||||
int rte_vlog(uint32_t level, uint32_t logtype, const char *format, va_list ap)
|
||||
__rte_format_printf(3, 0);
|
||||
|
||||
/**
|
||||
* Generates a log message.
|
||||
*
|
||||
* The RTE_LOG() is a helper that prefixes the string with the log level
|
||||
* and type, and call rte_log().
|
||||
*
|
||||
* @param l
|
||||
* Log level. A value between EMERG (1) and DEBUG (8). The short name is
|
||||
* expanded by the macro, so it cannot be an integer value.
|
||||
* @param t
|
||||
* The log type, for example, EAL. The short name is expanded by the
|
||||
* macro, so it cannot be an integer value.
|
||||
* @param ...
|
||||
* The fmt string, as in printf(3), followed by the variable arguments
|
||||
* required by the format.
|
||||
* @return
|
||||
* - 0: Success.
|
||||
* - Negative on error.
|
||||
*/
|
||||
#define RTE_LOG(l, t, ...) \
|
||||
rte_log(RTE_LOG_ ## l, \
|
||||
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
|
||||
|
||||
/**
|
||||
* Generates a log message for data path.
|
||||
*
|
||||
* Similar to RTE_LOG(), except that it is removed at compilation time
|
||||
* if the RTE_LOG_DP_LEVEL configuration option is lower than the log
|
||||
* level argument.
|
||||
*
|
||||
* @param l
|
||||
* Log level. A value between EMERG (1) and DEBUG (8). The short name is
|
||||
* expanded by the macro, so it cannot be an integer value.
|
||||
* @param t
|
||||
* The log type, for example, EAL. The short name is expanded by the
|
||||
* macro, so it cannot be an integer value.
|
||||
* @param ...
|
||||
* The fmt string, as in printf(3), followed by the variable arguments
|
||||
* required by the format.
|
||||
* @return
|
||||
* - 0: Success.
|
||||
* - Negative on error.
|
||||
*/
|
||||
#define RTE_LOG_DP(l, t, ...) \
|
||||
(void)((RTE_LOG_ ## l <= RTE_LOG_DP_LEVEL) ? \
|
||||
rte_log(RTE_LOG_ ## l, \
|
||||
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) : \
|
||||
0)
|
||||
|
||||
#define RTE_LOG_REGISTER_IMPL(type, name, level) \
|
||||
int type; \
|
||||
RTE_INIT(__##type) \
|
||||
{ \
|
||||
type = rte_log_register_type_and_pick_level(name, RTE_LOG_##level); \
|
||||
if (type < 0) \
|
||||
type = RTE_LOGTYPE_EAL; \
|
||||
}
|
||||
|
||||
/**
|
||||
* Register a dynamic log type in constructor context with its name and level.
|
||||
*
|
||||
* It is a wrapper macro for declaring the logtype, register the log and
|
||||
* sets it's level in the constructor context.
|
||||
*
|
||||
* @param type
|
||||
* The log type identifier
|
||||
* @param name
|
||||
* Name for the log type to be registered
|
||||
* @param level
|
||||
* Log level. A value between EMERG (1) and DEBUG (8).
|
||||
*/
|
||||
#define RTE_LOG_REGISTER(type, name, level) \
|
||||
RTE_LOG_REGISTER_IMPL(type, RTE_STR(name), level)
|
||||
|
||||
/**
|
||||
* This is an equivalent to RTE_LOG_REGISTER, but relying on the build system
|
||||
* to select the right format for the logtype.
|
||||
*/
|
||||
#define RTE_LOG_REGISTER_DEFAULT(type, level) \
|
||||
RTE_LOG_REGISTER_IMPL(type, RTE_STR(RTE_LOG_DEFAULT_LOGTYPE), level)
|
||||
|
||||
/**
|
||||
* This is an equivalent to RTE_LOG_REGISTER, but relying on the build system
|
||||
* to select the right prefix for the logtype.
|
||||
*/
|
||||
#define RTE_LOG_REGISTER_SUFFIX(type, suffix, level) \
|
||||
RTE_LOG_REGISTER_IMPL(type, \
|
||||
RTE_STR(RTE_LOG_DEFAULT_LOGTYPE) "." RTE_STR(suffix), level)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _RTE_LOG_H_ */
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,409 @@
|
||||
/* SPDX-License-Identifier: BSD-3-Clause
|
||||
* Copyright(c) 2010-2017 Intel Corporation
|
||||
*/
|
||||
|
||||
#ifndef _RTE_LOG_H_
|
||||
#define _RTE_LOG_H_
|
||||
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* RTE Logs API
|
||||
*
|
||||
* This file provides a log API to RTE applications.
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <rte_common.h>
|
||||
#include <rte_config.h>
|
||||
|
||||
/* SDK log type */
|
||||
#define RTE_LOGTYPE_EAL 0 /**< Log related to eal. */
|
||||
#define RTE_LOGTYPE_MALLOC 1 /**< Log related to malloc. */
|
||||
#define RTE_LOGTYPE_RING 2 /**< Log related to ring. */
|
||||
#define RTE_LOGTYPE_MEMPOOL 3 /**< Log related to mempool. */
|
||||
#define RTE_LOGTYPE_TIMER 4 /**< Log related to timers. */
|
||||
#define RTE_LOGTYPE_PMD 5 /**< Log related to poll mode driver. */
|
||||
#define RTE_LOGTYPE_HASH 6 /**< Log related to hash table. */
|
||||
#define RTE_LOGTYPE_LPM 7 /**< Log related to LPM. */
|
||||
#define RTE_LOGTYPE_KNI 8 /**< Log related to KNI. */
|
||||
#define RTE_LOGTYPE_ACL 9 /**< Log related to ACL. */
|
||||
#define RTE_LOGTYPE_POWER 10 /**< Log related to power. */
|
||||
#define RTE_LOGTYPE_METER 11 /**< Log related to QoS meter. */
|
||||
#define RTE_LOGTYPE_SCHED 12 /**< Log related to QoS port scheduler. */
|
||||
#define RTE_LOGTYPE_PORT 13 /**< Log related to port. */
|
||||
#define RTE_LOGTYPE_TABLE 14 /**< Log related to table. */
|
||||
#define RTE_LOGTYPE_PIPELINE 15 /**< Log related to pipeline. */
|
||||
#define RTE_LOGTYPE_MBUF 16 /**< Log related to mbuf. */
|
||||
#define RTE_LOGTYPE_CRYPTODEV 17 /**< Log related to cryptodev. */
|
||||
#define RTE_LOGTYPE_EFD 18 /**< Log related to EFD. */
|
||||
#define RTE_LOGTYPE_EVENTDEV 19 /**< Log related to eventdev. */
|
||||
#define RTE_LOGTYPE_GSO 20 /**< Log related to GSO. */
|
||||
|
||||
/* these log types can be used in an application */
|
||||
#define RTE_LOGTYPE_USER1 24 /**< User-defined log type 1. */
|
||||
#define RTE_LOGTYPE_USER2 25 /**< User-defined log type 2. */
|
||||
#define RTE_LOGTYPE_USER3 26 /**< User-defined log type 3. */
|
||||
#define RTE_LOGTYPE_USER4 27 /**< User-defined log type 4. */
|
||||
#define RTE_LOGTYPE_USER5 28 /**< User-defined log type 5. */
|
||||
#define RTE_LOGTYPE_USER6 29 /**< User-defined log type 6. */
|
||||
#define RTE_LOGTYPE_USER7 30 /**< User-defined log type 7. */
|
||||
#define RTE_LOGTYPE_USER8 31 /**< User-defined log type 8. */
|
||||
|
||||
/** First identifier for extended logs */
|
||||
#define RTE_LOGTYPE_FIRST_EXT_ID 32
|
||||
|
||||
/* Can't use 0, as it gives compiler warnings */
|
||||
#define RTE_LOG_EMERG 1U /**< System is unusable. */
|
||||
#define RTE_LOG_ALERT 2U /**< Action must be taken immediately. */
|
||||
#define RTE_LOG_CRIT 3U /**< Critical conditions. */
|
||||
#define RTE_LOG_ERR 4U /**< Error conditions. */
|
||||
#define RTE_LOG_WARNING 5U /**< Warning conditions. */
|
||||
#define RTE_LOG_NOTICE 6U /**< Normal but significant condition. */
|
||||
#define RTE_LOG_INFO 7U /**< Informational. */
|
||||
#define RTE_LOG_DEBUG 8U /**< Debug-level messages. */
|
||||
#define RTE_LOG_MAX RTE_LOG_DEBUG /**< Most detailed log level. */
|
||||
|
||||
/**
|
||||
* Change the stream that will be used by the logging system.
|
||||
*
|
||||
* This can be done at any time. The f argument represents the stream
|
||||
* to be used to send the logs. If f is NULL, the default output is
|
||||
* used (stderr).
|
||||
*
|
||||
* @param f
|
||||
* Pointer to the stream.
|
||||
* @return
|
||||
* - 0 on success.
|
||||
* - Negative on error.
|
||||
*/
|
||||
int rte_openlog_stream(FILE *f);
|
||||
|
||||
/**
|
||||
* Retrieve the stream used by the logging system (see rte_openlog_stream()
|
||||
* to change it).
|
||||
*
|
||||
* @return
|
||||
* Pointer to the stream.
|
||||
*/
|
||||
FILE *rte_log_get_stream(void);
|
||||
|
||||
/**
|
||||
* Set the global log level.
|
||||
*
|
||||
* After this call, logs with a level lower or equal than the level
|
||||
* passed as argument will be displayed.
|
||||
*
|
||||
* @param level
|
||||
* Log level. A value between RTE_LOG_EMERG (1) and RTE_LOG_DEBUG (8).
|
||||
*/
|
||||
void rte_log_set_global_level(uint32_t level);
|
||||
|
||||
/**
|
||||
* Get the global log level.
|
||||
*
|
||||
* @return
|
||||
* The current global log level.
|
||||
*/
|
||||
uint32_t rte_log_get_global_level(void);
|
||||
|
||||
/**
|
||||
* Get the log level for a given type.
|
||||
*
|
||||
* @param logtype
|
||||
* The log type identifier.
|
||||
* @return
|
||||
* 0 on success, a negative value if logtype is invalid.
|
||||
*/
|
||||
int rte_log_get_level(uint32_t logtype);
|
||||
|
||||
/**
|
||||
* For a given `logtype`, check if a log with `loglevel` can be printed.
|
||||
*
|
||||
* @param logtype
|
||||
* The log type identifier
|
||||
* @param loglevel
|
||||
* Log level. A value between RTE_LOG_EMERG (1) and RTE_LOG_DEBUG (8).
|
||||
* @return
|
||||
* Returns 'true' if log can be printed and 'false' if it can't.
|
||||
*/
|
||||
bool rte_log_can_log(uint32_t logtype, uint32_t loglevel);
|
||||
|
||||
/**
|
||||
* Set the log level for a given type based on globbing pattern.
|
||||
*
|
||||
* @param pattern
|
||||
* The globbing pattern identifying the log type.
|
||||
* @param level
|
||||
* The level to be set.
|
||||
* @return
|
||||
* 0 on success, a negative value if level is invalid.
|
||||
*/
|
||||
int rte_log_set_level_pattern(const char *pattern, uint32_t level);
|
||||
|
||||
/**
|
||||
* Set the log level for a given type based on regular expression.
|
||||
*
|
||||
* @param regex
|
||||
* The regular expression identifying the log type.
|
||||
* @param level
|
||||
* The level to be set.
|
||||
* @return
|
||||
* 0 on success, a negative value if level is invalid.
|
||||
*/
|
||||
int rte_log_set_level_regexp(const char *regex, uint32_t level);
|
||||
|
||||
/**
|
||||
* Set the log level for a given type.
|
||||
*
|
||||
* @param logtype
|
||||
* The log type identifier.
|
||||
* @param level
|
||||
* The level to be set.
|
||||
* @return
|
||||
* 0 on success, a negative value if logtype or level is invalid.
|
||||
*/
|
||||
int rte_log_set_level(uint32_t logtype, uint32_t level);
|
||||
|
||||
/**
|
||||
* Get the current loglevel for the message being processed.
|
||||
*
|
||||
* Before calling the user-defined stream for logging, the log
|
||||
* subsystem sets a per-lcore variable containing the loglevel and the
|
||||
* logtype of the message being processed. This information can be
|
||||
* accessed by the user-defined log output function through this
|
||||
* function.
|
||||
*
|
||||
* @return
|
||||
* The loglevel of the message being processed.
|
||||
*/
|
||||
int rte_log_cur_msg_loglevel(void);
|
||||
|
||||
/**
|
||||
* Get the current logtype for the message being processed.
|
||||
*
|
||||
* Before calling the user-defined stream for logging, the log
|
||||
* subsystem sets a per-lcore variable containing the loglevel and the
|
||||
* logtype of the message being processed. This information can be
|
||||
* accessed by the user-defined log output function through this
|
||||
* function.
|
||||
*
|
||||
* @return
|
||||
* The logtype of the message being processed.
|
||||
*/
|
||||
int rte_log_cur_msg_logtype(void);
|
||||
|
||||
/**
|
||||
* Register a dynamic log type
|
||||
*
|
||||
* If a log is already registered with the same type, the returned value
|
||||
* is the same than the previous one.
|
||||
*
|
||||
* @param name
|
||||
* The string identifying the log type.
|
||||
* @return
|
||||
* - >0: success, the returned value is the log type identifier.
|
||||
* - (-ENOMEM): cannot allocate memory.
|
||||
*/
|
||||
int rte_log_register(const char *name);
|
||||
|
||||
/**
|
||||
* Register a dynamic log type and try to pick its level from EAL options
|
||||
*
|
||||
* rte_log_register() is called inside. If successful, the function tries
|
||||
* to search for matching regexp in the list of EAL log level options and
|
||||
* pick the level from the last matching entry. If nothing can be applied
|
||||
* from the list, the level will be set to the user-defined default value.
|
||||
*
|
||||
* @param name
|
||||
* Name for the log type to be registered
|
||||
* @param level_def
|
||||
* Fallback level to be set if the global list has no matching options
|
||||
* @return
|
||||
* - >=0: the newly registered log type
|
||||
* - <0: rte_log_register() error value
|
||||
*/
|
||||
int rte_log_register_type_and_pick_level(const char *name, uint32_t level_def);
|
||||
|
||||
/**
|
||||
* Dump name of each logtype, one per line.
|
||||
*
|
||||
* @param out
|
||||
* Stream where the list is sent.
|
||||
* @param prefix
|
||||
* String preceding each logtype in the output.
|
||||
*/
|
||||
void rte_log_list_types(FILE *out, const char *prefix);
|
||||
|
||||
/**
|
||||
* Dump log information.
|
||||
*
|
||||
* Dump the global level and the registered log types.
|
||||
*
|
||||
* @param f
|
||||
* The output stream where the dump should be sent.
|
||||
*/
|
||||
void rte_log_dump(FILE *f);
|
||||
|
||||
/**
|
||||
* Generates a log message.
|
||||
*
|
||||
* The message will be sent in the stream defined by the previous call
|
||||
* to rte_openlog_stream().
|
||||
*
|
||||
* The level argument determines if the log should be displayed or
|
||||
* not, depending on the loglevel settings.
|
||||
*
|
||||
* The preferred alternative is the RTE_LOG() because it adds the
|
||||
* level and type in the logged string.
|
||||
*
|
||||
* @param level
|
||||
* Log level. A value between RTE_LOG_EMERG (1) and RTE_LOG_DEBUG (8).
|
||||
* @param logtype
|
||||
* The log type, for example, RTE_LOGTYPE_EAL.
|
||||
* @param format
|
||||
* The format string, as in printf(3), followed by the variable arguments
|
||||
* required by the format.
|
||||
* @return
|
||||
* - 0: Success.
|
||||
* - Negative on error.
|
||||
*/
|
||||
int rte_log(uint32_t level, uint32_t logtype, const char *format, ...)
|
||||
#ifdef __GNUC__
|
||||
#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 2))
|
||||
__rte_cold
|
||||
#endif
|
||||
#endif
|
||||
__rte_format_printf(3, 4);
|
||||
|
||||
/**
|
||||
* Generates a log message.
|
||||
*
|
||||
* The message will be sent in the stream defined by the previous call
|
||||
* to rte_openlog_stream().
|
||||
*
|
||||
* The level argument determines if the log should be displayed or
|
||||
* not, depending on the loglevel settings. A trailing
|
||||
* newline may be added if needed.
|
||||
*
|
||||
* The preferred alternative is the RTE_LOG() because it adds the
|
||||
* level and type in the logged string.
|
||||
*
|
||||
* @param level
|
||||
* Log level. A value between RTE_LOG_EMERG (1) and RTE_LOG_DEBUG (8).
|
||||
* @param logtype
|
||||
* The log type, for example, RTE_LOGTYPE_EAL.
|
||||
* @param format
|
||||
* The format string, as in printf(3), followed by the variable arguments
|
||||
* required by the format.
|
||||
* @param ap
|
||||
* The va_list of the variable arguments required by the format.
|
||||
* @return
|
||||
* - 0: Success.
|
||||
* - Negative on error.
|
||||
*/
|
||||
int rte_vlog(uint32_t level, uint32_t logtype, const char *format, va_list ap)
|
||||
__rte_format_printf(3, 0);
|
||||
|
||||
/**
|
||||
* Generates a log message.
|
||||
*
|
||||
* The RTE_LOG() is a helper that prefixes the string with the log level
|
||||
* and type, and call rte_log().
|
||||
*
|
||||
* @param l
|
||||
* Log level. A value between EMERG (1) and DEBUG (8). The short name is
|
||||
* expanded by the macro, so it cannot be an integer value.
|
||||
* @param t
|
||||
* The log type, for example, EAL. The short name is expanded by the
|
||||
* macro, so it cannot be an integer value.
|
||||
* @param ...
|
||||
* The fmt string, as in printf(3), followed by the variable arguments
|
||||
* required by the format.
|
||||
* @return
|
||||
* - 0: Success.
|
||||
* - Negative on error.
|
||||
*/
|
||||
#define RTE_LOG(l, t, ...) \
|
||||
rte_log(RTE_LOG_ ## l, \
|
||||
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
|
||||
|
||||
/**
|
||||
* Generates a log message for data path.
|
||||
*
|
||||
* Similar to RTE_LOG(), except that it is removed at compilation time
|
||||
* if the RTE_LOG_DP_LEVEL configuration option is lower than the log
|
||||
* level argument.
|
||||
*
|
||||
* @param l
|
||||
* Log level. A value between EMERG (1) and DEBUG (8). The short name is
|
||||
* expanded by the macro, so it cannot be an integer value.
|
||||
* @param t
|
||||
* The log type, for example, EAL. The short name is expanded by the
|
||||
* macro, so it cannot be an integer value.
|
||||
* @param ...
|
||||
* The fmt string, as in printf(3), followed by the variable arguments
|
||||
* required by the format.
|
||||
* @return
|
||||
* - 0: Success.
|
||||
* - Negative on error.
|
||||
*/
|
||||
#define RTE_LOG_DP(l, t, ...) \
|
||||
(void)((RTE_LOG_ ## l <= RTE_LOG_DP_LEVEL) ? \
|
||||
rte_log(RTE_LOG_ ## l, \
|
||||
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) : \
|
||||
0)
|
||||
|
||||
#define RTE_LOG_REGISTER_IMPL(type, name, level) \
|
||||
int type; \
|
||||
RTE_INIT(__##type) \
|
||||
{ \
|
||||
type = rte_log_register_type_and_pick_level(name, RTE_LOG_##level); \
|
||||
if (type < 0) \
|
||||
type = RTE_LOGTYPE_EAL; \
|
||||
}
|
||||
|
||||
/**
|
||||
* Register a dynamic log type in constructor context with its name and level.
|
||||
*
|
||||
* It is a wrapper macro for declaring the logtype, register the log and
|
||||
* sets it's level in the constructor context.
|
||||
*
|
||||
* @param type
|
||||
* The log type identifier
|
||||
* @param name
|
||||
* Name for the log type to be registered
|
||||
* @param level
|
||||
* Log level. A value between EMERG (1) and DEBUG (8).
|
||||
*/
|
||||
#define RTE_LOG_REGISTER(type, name, level) \
|
||||
RTE_LOG_REGISTER_IMPL(type, RTE_STR(name), level)
|
||||
|
||||
/**
|
||||
* This is an equivalent to RTE_LOG_REGISTER, but relying on the build system
|
||||
* to select the right format for the logtype.
|
||||
*/
|
||||
#define RTE_LOG_REGISTER_DEFAULT(type, level) \
|
||||
RTE_LOG_REGISTER_IMPL(type, RTE_STR(RTE_LOG_DEFAULT_LOGTYPE), level)
|
||||
|
||||
/**
|
||||
* This is an equivalent to RTE_LOG_REGISTER, but relying on the build system
|
||||
* to select the right prefix for the logtype.
|
||||
*/
|
||||
#define RTE_LOG_REGISTER_SUFFIX(type, suffix, level) \
|
||||
RTE_LOG_REGISTER_IMPL(type, \
|
||||
RTE_STR(RTE_LOG_DEFAULT_LOGTYPE) "." RTE_STR(suffix), level)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _RTE_LOG_H_ */
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,18 @@
|
||||
struct C0
|
||||
{
|
||||
int m0;
|
||||
int m1;
|
||||
char rh_kabi_reserved1[50];
|
||||
};
|
||||
|
||||
struct C1
|
||||
{
|
||||
int m0;
|
||||
char m1;
|
||||
};
|
||||
|
||||
int
|
||||
foo(struct C0 *c0, struct C1 *c1)
|
||||
{
|
||||
return c0->m0 + c1->m0;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
struct C0
|
||||
{
|
||||
int m0;
|
||||
int m1;
|
||||
int inserted;
|
||||
char rh_kabi_reserved1[46];
|
||||
};
|
||||
|
||||
struct C1
|
||||
{
|
||||
int m0;
|
||||
char m1;
|
||||
int m2;
|
||||
};
|
||||
|
||||
int
|
||||
foo(struct C0 *c0, struct C1 *c1)
|
||||
{
|
||||
return c0->m0 + c1->m0;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
struct C0
|
||||
{
|
||||
int m0;
|
||||
int wrongly_inserted;
|
||||
int m1;
|
||||
char rh_kabi_reserved1[50];
|
||||
};
|
||||
|
||||
struct C1
|
||||
{
|
||||
int m0;
|
||||
char m1;
|
||||
int m2;
|
||||
};
|
||||
|
||||
int
|
||||
foo(struct C0 *c0, struct C1 *c1)
|
||||
{
|
||||
return c0->m0 + c1->m0;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
struct C0
|
||||
{
|
||||
int m0;
|
||||
int m1;
|
||||
int correctly_inserted;
|
||||
char rh_kabi_reserved1[46];
|
||||
};
|
||||
|
||||
struct C1
|
||||
{
|
||||
int m0;
|
||||
char m1;
|
||||
int m2;
|
||||
};
|
||||
|
||||
int
|
||||
foo(struct C0 *c0, struct C1 *c1)
|
||||
{
|
||||
return c0->m0 + c1->m0;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
struct C0
|
||||
{
|
||||
int m0;
|
||||
int m1;
|
||||
unsigned rh_kabi_reserved1;
|
||||
unsigned rh_kabi_reserved2;
|
||||
unsigned rh_kabi_reserved3;
|
||||
unsigned rh_kabi_reserved4;
|
||||
unsigned rh_kabi_reserved5;
|
||||
};
|
||||
|
||||
struct C1
|
||||
{
|
||||
int m0;
|
||||
char m1;
|
||||
};
|
||||
|
||||
int
|
||||
foo(struct C0 *c0, struct C1 *c1)
|
||||
{
|
||||
return c0->m0 + c1->m0;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
struct C0
|
||||
{
|
||||
int m0;
|
||||
int m1;
|
||||
int correctly_inserted;
|
||||
unsigned rh_kabi_reserved2;
|
||||
unsigned rh_kabi_reserved3;
|
||||
unsigned rh_kabi_reserved4;
|
||||
unsigned rh_kabi_reserved5;
|
||||
};
|
||||
|
||||
struct C1
|
||||
{
|
||||
int m0;
|
||||
char m1;
|
||||
char wrongly_inserted;
|
||||
};
|
||||
|
||||
int
|
||||
foo(struct C0 *c0, struct C1 *c1)
|
||||
{
|
||||
return c0->m0 + c1->m0;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
struct C0
|
||||
{
|
||||
int m0;
|
||||
int incorrectly_inserted;
|
||||
int m1;
|
||||
unsigned rh_kabi_reserved2;
|
||||
unsigned rh_kabi_reserved3;
|
||||
unsigned rh_kabi_reserved4;
|
||||
unsigned rh_kabi_reserved5;
|
||||
};
|
||||
|
||||
struct C1
|
||||
{
|
||||
int m0;
|
||||
char m1;
|
||||
char wrongly_inserted;
|
||||
};
|
||||
|
||||
int
|
||||
foo(struct C0 *c0, struct C1 *c1)
|
||||
{
|
||||
return c0->m0 + c1->m0;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
struct C0
|
||||
{
|
||||
int m0;
|
||||
int m1;
|
||||
int incorrectly_inserted;
|
||||
unsigned rh_kabi_reserved1;
|
||||
unsigned rh_kabi_reserved2;
|
||||
unsigned rh_kabi_reserved3;
|
||||
unsigned rh_kabi_reserved4;
|
||||
unsigned rh_kabi_reserved5;
|
||||
};
|
||||
|
||||
struct C1
|
||||
{
|
||||
int m0;
|
||||
char m1;
|
||||
char wrongly_inserted;
|
||||
};
|
||||
|
||||
int
|
||||
foo(struct C0 *c0, struct C1 *c1)
|
||||
{
|
||||
return c0->m0 + c1->m0;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
struct C0
|
||||
{
|
||||
int m0;
|
||||
int m1;
|
||||
int correctly_inserted1;
|
||||
unsigned rh_kabi_reserved2;
|
||||
int correctly_inserted2;
|
||||
int correctly_inserted3;
|
||||
unsigned rh_kabi_reserved5;
|
||||
};
|
||||
|
||||
struct C1
|
||||
{
|
||||
int m0;
|
||||
char m1;
|
||||
char wrongly_inserted;
|
||||
};
|
||||
|
||||
int
|
||||
foo(struct C0 *c0, struct C1 *c1)
|
||||
{
|
||||
return c0->m0 + c1->m0;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
struct C0
|
||||
{
|
||||
int m0;
|
||||
int m1;
|
||||
int correctly_inserted1;
|
||||
unsigned rh_kabi_reserved2;
|
||||
int correctly_inserted2;
|
||||
int correctly_inserted3;
|
||||
unsigned rh_kabi_reserved5;
|
||||
int incorrectly_inserted;
|
||||
};
|
||||
|
||||
struct C1
|
||||
{
|
||||
int m0;
|
||||
char m1;
|
||||
char wrongly_inserted;
|
||||
};
|
||||
|
||||
int
|
||||
foo(struct C0 *c0, struct C1 *c1)
|
||||
{
|
||||
return c0->m0 + c1->m0;
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* Compile with:
|
||||
*
|
||||
* gcc -c -g -fno-eliminate-unused-debug-types test-anon-types-v{0,1}.c
|
||||
*/
|
||||
|
||||
union
|
||||
{
|
||||
int a;
|
||||
int b;
|
||||
int d;
|
||||
};
|
||||
|
||||
struct
|
||||
{
|
||||
int a;
|
||||
int b;
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
a,
|
||||
b,
|
||||
c,
|
||||
d
|
||||
};
|
||||
|
||||
union
|
||||
{
|
||||
char x;
|
||||
unsigned y;
|
||||
};
|
||||
|
||||
struct
|
||||
{
|
||||
char z;
|
||||
int w;
|
||||
};
|
||||
|
||||
void
|
||||
fun()
|
||||
{}
|
||||
@@ -0,0 +1,33 @@
|
||||
/**
|
||||
* Compile with:
|
||||
*
|
||||
* gcc -c -g -fno-eliminate-unused-debug-types test-anon-types-v{0,1}.c
|
||||
*/
|
||||
|
||||
union
|
||||
{
|
||||
int a;
|
||||
int b;
|
||||
int c;
|
||||
};
|
||||
|
||||
struct
|
||||
{
|
||||
int a;
|
||||
int b;
|
||||
int c;
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
a,
|
||||
b,
|
||||
c,
|
||||
d,
|
||||
e,
|
||||
f
|
||||
};
|
||||
|
||||
void
|
||||
fun()
|
||||
{}
|
||||
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Compile this with:
|
||||
* gcc -c -g -fno-eliminate-unused-debug-types test-anonymous-enums-change-v0.c
|
||||
*/
|
||||
|
||||
enum
|
||||
{
|
||||
E1_0,
|
||||
E1_1,
|
||||
} v1;
|
||||
|
||||
enum
|
||||
{
|
||||
E3_0,
|
||||
E3_1,
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
E4_0,
|
||||
E4_1,
|
||||
E4_2,
|
||||
E4_LAST_ELEMENT
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
E0_0,
|
||||
E0_1,
|
||||
} v0;
|
||||
|
||||
enum
|
||||
{
|
||||
E2_0,
|
||||
E2_1,
|
||||
} v2;
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Compile this with:
|
||||
* gcc -c -g -fno-eliminate-unused-debug-types test-anonymous-enums-change-v1.c
|
||||
*/
|
||||
|
||||
enum
|
||||
{
|
||||
E1_0,
|
||||
E1_1,
|
||||
} v1;
|
||||
|
||||
enum
|
||||
{
|
||||
E3_0,
|
||||
E3_1,
|
||||
E3_2
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
E4_0,
|
||||
E4_1,
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
E5_0,
|
||||
E5_1,
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
E0_0,
|
||||
E0_1,
|
||||
} v0;
|
||||
|
||||
enum
|
||||
{
|
||||
E2_0,
|
||||
E2_1,
|
||||
} v2;
|
||||
@@ -3,13 +3,13 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
|
||||
2 functions with some indirect sub-type change:
|
||||
|
||||
[C] 'function void reg1(const embodied_enum*)' at test-decl-enum-v1.c:4:1 has some indirect sub-type changes:
|
||||
[C] 'function void reg1(const embodied_enum*)' at test-decl-enum-v0.c:4:1 has some indirect sub-type changes:
|
||||
parameter 1 of type 'const embodied_enum*' has sub-type changes:
|
||||
in pointed to type 'const embodied_enum':
|
||||
in unqualified underlying type 'enum embodied_enum' at test-decl-enum-v1.c:1:1:
|
||||
enum type enum embodied_enum was a declaration-only enum type and is now a defined enum type
|
||||
|
||||
[C] 'function void reg2(const disembodied_enum*)' at test-decl-enum-v1.c:5:1 has some indirect sub-type changes:
|
||||
[C] 'function void reg2(const disembodied_enum*)' at test-decl-enum-v0.c:5:1 has some indirect sub-type changes:
|
||||
parameter 1 of type 'const disembodied_enum*' has sub-type changes:
|
||||
in pointed to type 'const disembodied_enum':
|
||||
in unqualified underlying type 'enum disembodied_enum':
|
||||
|
||||
@@ -3,13 +3,13 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
|
||||
2 functions with some indirect sub-type change:
|
||||
|
||||
[C] 'function void reg1(const embodied*)' at test-decl-struct-v1.c:4:1 has some indirect sub-type changes:
|
||||
[C] 'function void reg1(const embodied*)' at test-decl-struct-v0.c:4:1 has some indirect sub-type changes:
|
||||
parameter 1 of type 'const embodied*' has sub-type changes:
|
||||
in pointed to type 'const embodied':
|
||||
in unqualified underlying type 'struct embodied' at test-decl-struct-v1.c:1:1:
|
||||
type struct embodied was a declaration-only type and is now a defined type
|
||||
|
||||
[C] 'function void reg2(const disembodied*)' at test-decl-struct-v1.c:5:1 has some indirect sub-type changes:
|
||||
[C] 'function void reg2(const disembodied*)' at test-decl-struct-v0.c:5:1 has some indirect sub-type changes:
|
||||
parameter 1 of type 'const disembodied*' has sub-type changes:
|
||||
in pointed to type 'const disembodied':
|
||||
in unqualified underlying type 'struct disembodied':
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
*
|
||||
* Compile this with:
|
||||
* gcc -g -c -fno-eliminate-unused-debug-types test-enumerator-changes1-v0.c
|
||||
*/
|
||||
|
||||
enum foo
|
||||
{
|
||||
E1_O,
|
||||
E1_1
|
||||
};
|
||||
|
||||
void
|
||||
foo()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
*
|
||||
* Compile this with:
|
||||
* gcc -g -c -fno-eliminate-unused-debug-types test-enumerator-changes1-v1.c
|
||||
*/
|
||||
|
||||
enum foo
|
||||
{
|
||||
E1_O,
|
||||
E1_1,
|
||||
E1_2
|
||||
};
|
||||
|
||||
void
|
||||
foo()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
[suppress_type]
|
||||
type_kind = struct
|
||||
has_data_member_inserted_at = offset_of_flexible_array_data_member
|
||||
has_size_change = yes
|
||||
@@ -0,0 +1,3 @@
|
||||
[suppress_type]
|
||||
type_kind = struct
|
||||
has_data_member_inserted_at = offset_of_flexible_array_data_member
|
||||
@@ -0,0 +1,5 @@
|
||||
[suppress_type]
|
||||
type_kind = struct
|
||||
name = foo
|
||||
has_data_member_inserted_at = offset_of_flexible_array_data_member
|
||||
has_size_change = yes
|
||||
@@ -0,0 +1,5 @@
|
||||
[suppress_type]
|
||||
type_kind = struct
|
||||
name = bar
|
||||
has_data_member_inserted_at = offset_of_flexible_array_data_member
|
||||
has_size_change = yes
|
||||
@@ -0,0 +1,10 @@
|
||||
struct foo
|
||||
{
|
||||
int member0;
|
||||
char pad[];
|
||||
};
|
||||
|
||||
void
|
||||
foo(struct foo * p __attribute__((unused)))
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
struct foo
|
||||
{
|
||||
int member0;
|
||||
char member1;
|
||||
char pad[];
|
||||
};
|
||||
|
||||
void
|
||||
foo(struct foo * p __attribute__((unused)))
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
struct foo
|
||||
{
|
||||
int member0;
|
||||
char pad[10];
|
||||
};
|
||||
|
||||
void
|
||||
foo(struct foo * p __attribute__((unused)))
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
struct foo
|
||||
{
|
||||
int member0;
|
||||
char member1; /* This is an added data member. */
|
||||
char pad[10]; /* This is not a fam, so the change should not be
|
||||
suppressed. */
|
||||
};
|
||||
|
||||
void
|
||||
foo(struct foo * p __attribute__((unused)))
|
||||
{
|
||||
}
|
||||
@@ -3,7 +3,7 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
|
||||
1 function with some indirect sub-type change:
|
||||
|
||||
[C] 'function void reg(ops*)' at test-fun-param-v1.c:7:1 has some indirect sub-type changes:
|
||||
[C] 'function void reg(ops*)' at test-fun-param-v0.c:7:1 has some indirect sub-type changes:
|
||||
parameter 1 of type 'ops*' has sub-type changes:
|
||||
in pointed to type 'struct ops' at test-fun-param-v1.c:1:1:
|
||||
type size hasn't changed
|
||||
|
||||
@@ -3,7 +3,7 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
|
||||
1 function with some indirect sub-type change:
|
||||
|
||||
[C] 'function void bar(second_public_struct_pointer_type, second_opaque_struct_pointer_type)' at test-headers-dir-v1.c:33:1 has some indirect sub-type changes:
|
||||
[C] 'function void bar(second_public_struct_pointer_type, second_opaque_struct_pointer_type)' at test-headers-dir-v0.c:30:1 has some indirect sub-type changes:
|
||||
parameter 1 of type 'typedef second_public_struct_pointer_type' has sub-type changes:
|
||||
underlying type 'second_public_struct*' changed:
|
||||
in pointed to type 'struct second_public_struct' at header-b-v1.h:5:1:
|
||||
|
||||
@@ -3,7 +3,7 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
|
||||
1 function with some indirect sub-type change:
|
||||
|
||||
[C] 'function void x(unsigned char)' at test-loc-v1.c:1:1 has some indirect sub-type changes:
|
||||
[C] 'function void x(unsigned char)' at test-loc-v0.c:1:1 has some indirect sub-type changes:
|
||||
parameter 1 of type 'unsigned char' changed:
|
||||
type name changed from 'unsigned char' to 'signed char'
|
||||
type size hasn't changed
|
||||
|
||||
@@ -3,7 +3,7 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
|
||||
2 functions with some indirect sub-type change:
|
||||
|
||||
[C] 'function void reg1(S*, T*, T*)' at test-member-size-v1.cc:26:1 has some indirect sub-type changes:
|
||||
[C] 'function void reg1(S*, T*, T*)' at test-member-size-v0.cc:25:1 has some indirect sub-type changes:
|
||||
parameter 1 of type 'S*' has sub-type changes:
|
||||
in pointed to type 'struct S' at test-member-size-v1.cc:3:1:
|
||||
type size changed from 128 to 192 (in bits)
|
||||
@@ -16,7 +16,7 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
1 data member changes (1 filtered):
|
||||
'int a' offset changed from 128 to 192 (in bits) (by +64 bits)
|
||||
|
||||
[C] 'function void reg2(U*)' at test-member-size-v1.cc:27:1 has some indirect sub-type changes:
|
||||
[C] 'function void reg2(U*)' at test-member-size-v0.cc:26:1 has some indirect sub-type changes:
|
||||
parameter 1 of type 'U*' has sub-type changes:
|
||||
in pointed to type 'struct U' at test-member-size-v1.cc:19:1:
|
||||
type size changed from 192 to 256 (in bits)
|
||||
|
||||
@@ -3,7 +3,7 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
|
||||
1 function with some indirect sub-type change:
|
||||
|
||||
[C] 'function void foo(ns2::C&)' at test-rhbz2114909-v1.cc:33:1 has some indirect sub-type changes:
|
||||
[C] 'function void foo(ns2::C&)' at test-rhbz2114909-v0.cc:32:1 has some indirect sub-type changes:
|
||||
parameter 1 of type 'ns2::C&' has sub-type changes:
|
||||
in referenced type 'class ns2::C' at test-rhbz2114909-v1.cc:22:1:
|
||||
type size changed from 160 to 96 (in bits)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Functions changes summary: 1 Removed, 60 Changed, 1 Added functions
|
||||
Functions changes summary: 1 Removed, 43 Changed, 1 Added functions
|
||||
Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
|
||||
1 Removed function:
|
||||
@@ -9,7 +9,7 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
|
||||
[A] 'method void std::__cxx11::_List_base<sigc::slot_base, std::allocator<sigc::slot_base> >::_M_clear()'
|
||||
|
||||
60 functions with some indirect sub-type change:
|
||||
43 functions with some indirect sub-type change:
|
||||
|
||||
[C] 'method bool sigc::connection::block(bool)' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'sigc::connection*' has sub-type changes:
|
||||
@@ -123,9 +123,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
pointed to type 'struct sigc::internal::signal_impl' changed, as reported earlier
|
||||
|
||||
[C] 'method sigc::internal::signal_impl::iterator_type sigc::internal::signal_impl::connect(const sigc::slot_base&)' has some indirect sub-type changes:
|
||||
return type changed:
|
||||
underlying type 'typedef std::list<sigc::slot_base, std::allocator<sigc::slot_base> >::iterator' changed:
|
||||
typedef name changed from std::list<sigc::slot_base, std::allocator<sigc::slot_base> >::iterator to std::__cxx11::list<sigc::slot_base, std::allocator<sigc::slot_base> >::iterator
|
||||
implicit parameter 0 of type 'sigc::internal::signal_impl*' has sub-type changes:
|
||||
pointed to type 'struct sigc::internal::signal_impl' changed, as reported earlier
|
||||
parameter 1 of type 'const sigc::slot_base&' has sub-type changes:
|
||||
@@ -133,14 +130,10 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
unqualified underlying type 'class sigc::slot_base' changed, as reported earlier
|
||||
|
||||
[C] 'method sigc::internal::signal_impl::iterator_type sigc::internal::signal_impl::erase(sigc::internal::signal_impl::iterator_type)' has some indirect sub-type changes:
|
||||
return type changed:
|
||||
underlying type 'typedef std::list<sigc::slot_base, std::allocator<sigc::slot_base> >::iterator' changed, as reported earlier
|
||||
implicit parameter 0 of type 'sigc::internal::signal_impl*' has sub-type changes:
|
||||
pointed to type 'struct sigc::internal::signal_impl' changed, as reported earlier
|
||||
|
||||
[C] 'method sigc::internal::signal_impl::iterator_type sigc::internal::signal_impl::insert(sigc::internal::signal_impl::iterator_type, const sigc::slot_base&)' has some indirect sub-type changes:
|
||||
return type changed:
|
||||
underlying type 'typedef std::list<sigc::slot_base, std::allocator<sigc::slot_base> >::iterator' changed, as reported earlier
|
||||
implicit parameter 0 of type 'sigc::internal::signal_impl*' has sub-type changes:
|
||||
pointed to type 'struct sigc::internal::signal_impl' changed, as reported earlier
|
||||
parameter 2 of type 'const sigc::slot_base&' has sub-type changes:
|
||||
@@ -164,22 +157,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
implicit parameter 0 of type 'sigc::internal::signal_impl*' has sub-type changes:
|
||||
pointed to type 'struct sigc::internal::signal_impl' changed, as reported earlier
|
||||
|
||||
[C] 'method void sigc::internal::slot_rep::disconnect()' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'sigc::internal::slot_rep*' has sub-type changes:
|
||||
pointed to type 'struct sigc::internal::slot_rep' changed, as reported earlier
|
||||
|
||||
[C] 'method void sigc::internal::trackable_callback_list::add_callback(void*)' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'sigc::internal::trackable_callback_list*' has sub-type changes:
|
||||
pointed to type 'struct sigc::internal::trackable_callback_list' changed, as reported earlier
|
||||
|
||||
[C] 'method void sigc::internal::trackable_callback_list::clear()' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'sigc::internal::trackable_callback_list*' has sub-type changes:
|
||||
pointed to type 'struct sigc::internal::trackable_callback_list' changed, as reported earlier
|
||||
|
||||
[C] 'method void sigc::internal::trackable_callback_list::remove_callback(void*)' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'sigc::internal::trackable_callback_list*' has sub-type changes:
|
||||
pointed to type 'struct sigc::internal::trackable_callback_list' changed, as reported earlier
|
||||
|
||||
[C] 'method sigc::internal::trackable_callback_list::~trackable_callback_list(int)' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'sigc::internal::trackable_callback_list*' has sub-type changes:
|
||||
pointed to type 'struct sigc::internal::trackable_callback_list' changed, as reported earlier
|
||||
@@ -205,8 +182,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
pointed to type 'struct sigc::signal_base' changed, as reported earlier
|
||||
|
||||
[C] 'method sigc::signal_base::iterator_type sigc::signal_base::connect(const sigc::slot_base&)' has some indirect sub-type changes:
|
||||
return type changed:
|
||||
underlying type 'typedef sigc::internal::signal_impl::iterator_type' changed, as reported earlier
|
||||
implicit parameter 0 of type 'sigc::signal_base*' has sub-type changes:
|
||||
pointed to type 'struct sigc::signal_base' changed, as reported earlier
|
||||
parameter 1 of type 'const sigc::slot_base&' has sub-type changes:
|
||||
@@ -214,8 +189,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
unqualified underlying type 'class sigc::slot_base' changed, as reported earlier
|
||||
|
||||
[C] 'method sigc::signal_base::iterator_type sigc::signal_base::erase(sigc::signal_base::iterator_type)' has some indirect sub-type changes:
|
||||
return type changed:
|
||||
underlying type 'typedef sigc::internal::signal_impl::iterator_type' changed, as reported earlier
|
||||
implicit parameter 0 of type 'sigc::signal_base*' has sub-type changes:
|
||||
pointed to type 'struct sigc::signal_base' changed, as reported earlier
|
||||
|
||||
@@ -227,8 +200,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
unqualified underlying type 'struct sigc::signal_base' changed, as reported earlier
|
||||
|
||||
[C] 'method sigc::signal_base::iterator_type sigc::signal_base::insert(sigc::signal_base::iterator_type, const sigc::slot_base&)' has some indirect sub-type changes:
|
||||
return type changed:
|
||||
underlying type 'typedef sigc::internal::signal_impl::iterator_type' changed, as reported earlier
|
||||
implicit parameter 0 of type 'sigc::signal_base*' has sub-type changes:
|
||||
pointed to type 'struct sigc::signal_base' changed, as reported earlier
|
||||
parameter 2 of type 'const sigc::slot_base&' has sub-type changes:
|
||||
@@ -268,43 +239,6 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
implicit parameter 0 of type 'sigc::signal_base*' has sub-type changes:
|
||||
pointed to type 'struct sigc::signal_base' changed, as reported earlier
|
||||
|
||||
[C] 'method void sigc::slot_base::add_destroy_notify_callback(void*)' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'const sigc::slot_base*' has sub-type changes:
|
||||
in pointed to type 'const sigc::slot_base':
|
||||
unqualified underlying type 'class sigc::slot_base' changed, as reported earlier
|
||||
|
||||
[C] 'method bool sigc::slot_base::block(bool)' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'sigc::slot_base*' has sub-type changes:
|
||||
pointed to type 'class sigc::slot_base' changed, as reported earlier
|
||||
|
||||
[C] 'method void sigc::slot_base::disconnect()' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'sigc::slot_base*' has sub-type changes:
|
||||
pointed to type 'class sigc::slot_base' changed, as reported earlier
|
||||
|
||||
[C] 'method bool sigc::slot_base::operator bool()' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'const sigc::slot_base*' has sub-type changes:
|
||||
in pointed to type 'const sigc::slot_base':
|
||||
unqualified underlying type 'class sigc::slot_base' changed, as reported earlier
|
||||
|
||||
[C] 'method sigc::slot_base& sigc::slot_base::operator=(const sigc::slot_base&)' has some indirect sub-type changes:
|
||||
return type changed:
|
||||
referenced type 'class sigc::slot_base' changed, as reported earlier
|
||||
implicit parameter 0 of type 'sigc::slot_base*' has sub-type changes:
|
||||
pointed to type 'class sigc::slot_base' changed, as reported earlier
|
||||
parameter 1 of type 'const sigc::slot_base&' has sub-type changes:
|
||||
in referenced type 'const sigc::slot_base':
|
||||
unqualified underlying type 'class sigc::slot_base' changed, as reported earlier
|
||||
|
||||
[C] 'method void sigc::slot_base::remove_destroy_notify_callback(void*)' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'const sigc::slot_base*' has sub-type changes:
|
||||
in pointed to type 'const sigc::slot_base':
|
||||
unqualified underlying type 'class sigc::slot_base' changed, as reported earlier
|
||||
|
||||
[C] 'method void sigc::slot_base::set_parent(void*)' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'const sigc::slot_base*' has sub-type changes:
|
||||
in pointed to type 'const sigc::slot_base':
|
||||
unqualified underlying type 'class sigc::slot_base' changed, as reported earlier
|
||||
|
||||
[C] 'method sigc::slot_base::slot_base(sigc::slot_base::rep_type*)' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'sigc::slot_base*' has sub-type changes:
|
||||
pointed to type 'class sigc::slot_base' changed, as reported earlier
|
||||
@@ -322,44 +256,10 @@ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
|
||||
in referenced type 'const sigc::slot_base':
|
||||
unqualified underlying type 'class sigc::slot_base' changed, as reported earlier
|
||||
|
||||
[C] 'method bool sigc::slot_base::unblock()' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'sigc::slot_base*' has sub-type changes:
|
||||
pointed to type 'class sigc::slot_base' changed, as reported earlier
|
||||
|
||||
[C] 'method sigc::slot_base::~slot_base(int)' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'sigc::slot_base*' has sub-type changes:
|
||||
pointed to type 'class sigc::slot_base' changed, as reported earlier
|
||||
|
||||
[C] 'method void sigc::trackable::add_destroy_notify_callback(void*)' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'const sigc::trackable*' has sub-type changes:
|
||||
in pointed to type 'const sigc::trackable':
|
||||
unqualified underlying type 'struct sigc::trackable' changed, as reported earlier
|
||||
|
||||
[C] 'method sigc::internal::trackable_callback_list* sigc::trackable::callback_list()' has some indirect sub-type changes:
|
||||
return type changed:
|
||||
pointed to type 'struct sigc::internal::trackable_callback_list' changed, as reported earlier
|
||||
implicit parameter 0 of type 'const sigc::trackable*' has sub-type changes:
|
||||
in pointed to type 'const sigc::trackable':
|
||||
unqualified underlying type 'struct sigc::trackable' changed, as reported earlier
|
||||
|
||||
[C] 'method void sigc::trackable::notify_callbacks()' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'sigc::trackable*' has sub-type changes:
|
||||
pointed to type 'struct sigc::trackable' changed, as reported earlier
|
||||
|
||||
[C] 'method sigc::trackable& sigc::trackable::operator=(const sigc::trackable&)' has some indirect sub-type changes:
|
||||
return type changed:
|
||||
referenced type 'struct sigc::trackable' changed, as reported earlier
|
||||
implicit parameter 0 of type 'sigc::trackable*' has sub-type changes:
|
||||
pointed to type 'struct sigc::trackable' changed, as reported earlier
|
||||
parameter 1 of type 'const sigc::trackable&' has sub-type changes:
|
||||
in referenced type 'const sigc::trackable':
|
||||
unqualified underlying type 'struct sigc::trackable' changed, as reported earlier
|
||||
|
||||
[C] 'method void sigc::trackable::remove_destroy_notify_callback(void*)' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'const sigc::trackable*' has sub-type changes:
|
||||
in pointed to type 'const sigc::trackable':
|
||||
unqualified underlying type 'struct sigc::trackable' changed, as reported earlier
|
||||
|
||||
[C] 'method sigc::trackable::trackable(const sigc::trackable&)' has some indirect sub-type changes:
|
||||
implicit parameter 0 of type 'sigc::trackable*' has sub-type changes:
|
||||
pointed to type 'struct sigc::trackable' changed, as reported earlier
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<abi-corpus version='2.1'>
|
||||
<abi-corpus version='2.2'>
|
||||
<elf-variable-symbols>
|
||||
<!-- signed char -->
|
||||
<elf-symbol name='a' size='4' type='object-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
<abi-corpus version='2.1'>
|
||||
<abi-corpus version='2.2'>
|
||||
<elf-function-symbols>
|
||||
<!-- foo(S&) -->
|
||||
<elf-symbol name='_Z3fooR1S' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
|
||||
@@ -13,15 +13,15 @@
|
||||
<!-- struct S -->
|
||||
<class-decl name='S' size-in-bits='256' is-struct='yes' visibility='default' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-members-0.cc' line='1' column='1' id='type-id-4'>
|
||||
<member-type access='public'>
|
||||
<!-- enum S::__anonymous_enum__ -->
|
||||
<enum-decl name='__anonymous_enum__' is-anonymous='yes' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-members-0.cc' line='18' column='1' id='type-id-5'>
|
||||
<!-- enum {five=0, six=1, } -->
|
||||
<enum-decl name='__anonymous_enum__2' is-anonymous='yes' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-members-0.cc' line='22' column='1' id='type-id-5'>
|
||||
<underlying-type type-id='type-id-6'/>
|
||||
<enumerator name='one' value='0'/>
|
||||
<enumerator name='two' value='1'/>
|
||||
<enumerator name='five' value='0'/>
|
||||
<enumerator name='six' value='1'/>
|
||||
</enum-decl>
|
||||
</member-type>
|
||||
<member-type access='public'>
|
||||
<!-- enum S::__anonymous_enum__1 -->
|
||||
<!-- enum {four=1, three=0, } -->
|
||||
<enum-decl name='__anonymous_enum__1' is-anonymous='yes' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-members-0.cc' line='20' column='1' id='type-id-7'>
|
||||
<underlying-type type-id='type-id-6'/>
|
||||
<enumerator name='three' value='0'/>
|
||||
@@ -29,11 +29,11 @@
|
||||
</enum-decl>
|
||||
</member-type>
|
||||
<member-type access='public'>
|
||||
<!-- enum S::__anonymous_enum__2 -->
|
||||
<enum-decl name='__anonymous_enum__2' is-anonymous='yes' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-members-0.cc' line='22' column='1' id='type-id-8'>
|
||||
<!-- enum {one=0, two=1, } -->
|
||||
<enum-decl name='__anonymous_enum__' is-anonymous='yes' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-members-0.cc' line='18' column='1' id='type-id-8'>
|
||||
<underlying-type type-id='type-id-6'/>
|
||||
<enumerator name='five' value='0'/>
|
||||
<enumerator name='six' value='1'/>
|
||||
<enumerator name='one' value='0'/>
|
||||
<enumerator name='two' value='1'/>
|
||||
</enum-decl>
|
||||
</member-type>
|
||||
<member-type access='public'>
|
||||
@@ -103,7 +103,7 @@
|
||||
</data-member>
|
||||
<data-member access='public' layout-offset-in-bits='64'>
|
||||
<!-- S::__anonymous_enum__ S::e1 -->
|
||||
<var-decl name='e1' type-id='type-id-5' visibility='default' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-members-0.cc' line='18' column='1'/>
|
||||
<var-decl name='e1' type-id='type-id-8' visibility='default' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-members-0.cc' line='18' column='1'/>
|
||||
</data-member>
|
||||
<data-member access='public' layout-offset-in-bits='96'>
|
||||
<!-- S::__anonymous_enum__1 S::e2 -->
|
||||
@@ -111,7 +111,7 @@
|
||||
</data-member>
|
||||
<data-member access='public' layout-offset-in-bits='128'>
|
||||
<!-- S::__anonymous_enum__2 S::e3 -->
|
||||
<var-decl name='e3' type-id='type-id-8' visibility='default' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-members-0.cc' line='22' column='1'/>
|
||||
<var-decl name='e3' type-id='type-id-5' visibility='default' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-members-0.cc' line='22' column='1'/>
|
||||
</data-member>
|
||||
<data-member access='public' layout-offset-in-bits='160'>
|
||||
<!-- union {int a; char b;} -->
|
||||
@@ -128,8 +128,6 @@
|
||||
<type-decl name='unsigned int' size-in-bits='32' id='type-id-14'/>
|
||||
<!-- S& -->
|
||||
<reference-type-def kind='lvalue' type-id='type-id-4' size-in-bits='64' id='type-id-15'/>
|
||||
<!-- void -->
|
||||
<type-decl name='void' id='type-id-16'/>
|
||||
<!-- void foo(S&) -->
|
||||
<function-decl name='foo' mangled-name='_Z3fooR1S' filepath='/home/dodji/git/libabigail/fixes/tests/data/test-annotate/test-anonymous-members-0.cc' line='30' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_Z3fooR1S'>
|
||||
<!-- parameter of type 'S&' -->
|
||||
@@ -137,5 +135,7 @@
|
||||
<!-- void -->
|
||||
<return type-id='type-id-16'/>
|
||||
</function-decl>
|
||||
<!-- void -->
|
||||
<type-decl name='void' id='type-id-16'/>
|
||||
</abi-instr>
|
||||
</abi-corpus>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<abi-corpus version='2.1'>
|
||||
<abi-corpus version='2.2'>
|
||||
<elf-needed>
|
||||
<dependency name='libstdc++.so.6'/>
|
||||
<dependency name='libm.so.6'/>
|
||||
@@ -58,10 +58,6 @@
|
||||
<reference-type-def kind='lvalue' type-id='type-id-10' size-in-bits='64' id='type-id-11'/>
|
||||
<!-- volatile const long int -->
|
||||
<qualified-type-def type-id='type-id-8' volatile='yes' id='type-id-12'/>
|
||||
<!-- variadic parameter type -->
|
||||
<type-decl name='variadic parameter type' id='type-id-13'/>
|
||||
<!-- void -->
|
||||
<type-decl name='void' id='type-id-14'/>
|
||||
<!-- int global -->
|
||||
<var-decl name='global' type-id='type-id-2' mangled-name='global' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='3' column='1' elf-symbol-id='global'/>
|
||||
<!-- namespace ns0 -->
|
||||
@@ -73,7 +69,7 @@
|
||||
<enumerator name='e1' value='1'/>
|
||||
</enum-decl>
|
||||
<!-- typedef long long int ns0::long_long -->
|
||||
<typedef-decl name='long_long' type-id='type-id-4' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='25' column='1' id='type-id-15'/>
|
||||
<typedef-decl name='long_long' type-id='type-id-4' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='25' column='1' id='type-id-13'/>
|
||||
<!-- void ns0::bar(const int, ...) -->
|
||||
<function-decl name='bar' mangled-name='_ZN3ns03barEiz' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='12' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN3ns03barEiz'>
|
||||
<!-- parameter of type 'const int' -->
|
||||
@@ -101,7 +97,7 @@
|
||||
<!-- parameter of type 'int&' -->
|
||||
<parameter type-id='type-id-9' name='c' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='28' column='1'/>
|
||||
<!-- typedef ns0::long_long -->
|
||||
<return type-id='type-id-15'/>
|
||||
<return type-id='type-id-13'/>
|
||||
</function-decl>
|
||||
<!-- long int ns0::foo(char*, volatile const long int) -->
|
||||
<function-decl name='foo' mangled-name='_ZN3ns03fooEPcl' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test0.cc' line='45' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN3ns03fooEPcl'>
|
||||
@@ -118,5 +114,9 @@
|
||||
<!-- int -->
|
||||
<return type-id='type-id-2'/>
|
||||
</function-decl>
|
||||
<!-- variadic parameter type -->
|
||||
<type-decl name='variadic parameter type' id='type-id-15'/>
|
||||
<!-- void -->
|
||||
<type-decl name='void' id='type-id-14'/>
|
||||
</abi-instr>
|
||||
</abi-corpus>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<abi-corpus version='2.1'>
|
||||
<abi-corpus version='2.2'>
|
||||
<elf-needed>
|
||||
<dependency name='libstdc++.so.6'/>
|
||||
<dependency name='libm.so.6'/>
|
||||
@@ -180,12 +180,12 @@
|
||||
<reference-type-def kind='lvalue' type-id='type-id-7' size-in-bits='64' id='type-id-14'/>
|
||||
<!-- s0* -->
|
||||
<pointer-type-def type-id='type-id-7' size-in-bits='64' id='type-id-11'/>
|
||||
<!-- void* -->
|
||||
<pointer-type-def type-id='type-id-13' size-in-bits='64' id='type-id-15'/>
|
||||
<!-- void** -->
|
||||
<pointer-type-def type-id='type-id-15' size-in-bits='64' id='type-id-12'/>
|
||||
<!-- void -->
|
||||
<type-decl name='void' id='type-id-13'/>
|
||||
<!-- void* -->
|
||||
<pointer-type-def type-id='type-id-13' id='type-id-15'/>
|
||||
<!-- void foo(s0&) -->
|
||||
<function-decl name='foo' mangled-name='_Z3fooR2s0' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='42' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_Z3fooR2s0'>
|
||||
<!-- parameter of type 's0&' -->
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
<abi-corpus version='2.1'>
|
||||
<abi-corpus version='2.2'>
|
||||
<elf-needed>
|
||||
<dependency name='libstdc++.so.6'/>
|
||||
<dependency name='libm.so.6'/>
|
||||
@@ -63,8 +63,6 @@
|
||||
<type-decl name='unsigned char' size-in-bits='8' id='type-id-7'/>
|
||||
<!-- first_type* -->
|
||||
<pointer-type-def type-id='type-id-2' size-in-bits='64' id='type-id-5'/>
|
||||
<!-- void -->
|
||||
<type-decl name='void' id='type-id-6'/>
|
||||
<!-- namespace a -->
|
||||
<namespace-decl name='a'>
|
||||
<!-- first_type* a::build_first_type() -->
|
||||
@@ -73,6 +71,8 @@
|
||||
<return type-id='type-id-5'/>
|
||||
</function-decl>
|
||||
</namespace-decl>
|
||||
<!-- void -->
|
||||
<type-decl name='void' id='type-id-6'/>
|
||||
</abi-instr>
|
||||
<abi-instr address-size='64' path='test2-1.cc' comp-dir-path='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf' language='LANG_C_plus_plus'>
|
||||
<!-- struct second_type -->
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user