mirror of
git://sourceware.org/git/libabigail.git
synced 2025-01-20 00:00:45 +00:00
6a7566d513
* bash-completion/abicompat: Complete the new "--no-show-locs" option. * bash-completion/abidiff: Likewise. * bash-completion/abidw: Likewise. * bash-completion/abipkgdiff: Likewise. * doc/manuals/abicompat.rst: Mention the new "--no-show-locs" option. * doc/manuals/abidiff.rst: Likewise. * doc/manuals/abidw.rst: Likewise. * doc/manuals/abipkgdiff.rst: Likewise. * include/abg-comparison.h (show_locs): Add declarations. * src/abg-comparison.cc: (diff_context::priv): Add a new switch called "show_locs_" and set its default value to false. (report_loc_info): New function. Outputting the extra information is conditionalized based on the associated diff contexts settings. (show_locs): define a getter/setter for diff_context::priv::show_locs_. ({distinct,pointer,reference,qualified_type,enum,class,scope,fn_parm, typedef,corpus}_diff::report): Call report_loc_info when appropriate. (maybe_report_diff_for_member): Likewise. (represent): Accept a const reference to a diff_context_sptr as a first argument and call report_loc_info on its second argument. * src/abg-dwarf-reader.cc: * tests/data/Makefile.am: Add the new test reference files. * tests/data/test-abicompat/test0-fn-changed-report-2.txt: New test reference output. * tests/data/test-abicompat/test5-fn-changed-report-1.txt: Likewise. * tests/data/test-abicompat/test6-var-changed-report-1.txt: Likewise. * tests/data/test-abicompat/test7-fn-changed-report-2.txt: Likewise. * tests/data/test-diff-filter/test30-pr18904-rvalueref-report1.txt: Likewise. * tests/data/test-diff-filter/test31-pr18535-libstdc++-report-1.txt: Likewise. * tests/data/test-diff-pkg/dirpkg-3-report-2.txt: Likewise. * tests/data/test-diff-suppr/test6-fn-suppr-report-0-1.txt: Likewise. * tests/test-abidiff.cc: Explicitly create a diff context and turn off location emitting. * tests/test-diff-dwarf.cc: Likewise. * tests/test-abicompat.cc: Add --no-show-locs to all existing test arguments. Run a few of the existing tests again, but without this option. * tests/test-diff-filter.cc: Likewise. * tests/test-diff-pkg.cc: Likewise. * tests/test-diff-suppr.cc: Likewise. * tools/abicompat.cc: Handle the new "--no-show-locs" option. * tools/abidiff.cc: Likewise. * tools/abidw.cc: Likewise. * tools/abipkgdiff.cc: Likewise. Signed-off-by: Ondrej Oprala <ooprala@redhat.com> |
||
---|---|---|
.. | ||
libtest0-fn-changed-libapp-v0.so | ||
libtest0-fn-changed-libapp-v1.so | ||
libtest1-fn-removed-v0.so | ||
libtest1-fn-removed-v1.so | ||
libtest2-var-removed-v0.so | ||
libtest2-var-removed-v1.so | ||
libtest3-fn-removed-v0.so | ||
libtest3-fn-removed-v1.so | ||
libtest4-soname-changed-v0.so | ||
libtest4-soname-changed-v1.so | ||
libtest5-fn-changed-libapp-v0.so | ||
libtest5-fn-changed-libapp-v1.so | ||
libtest6-var-changed-libapp-v0.so | ||
libtest6-var-changed-libapp-v1.so | ||
libtest7-fn-changed-libapp-v0.so | ||
libtest7-fn-changed-libapp-v1.so | ||
test0-fn-changed-0.suppr | ||
test0-fn-changed-app | ||
test0-fn-changed-app.cc | ||
test0-fn-changed-libapp-v0.cc | ||
test0-fn-changed-libapp-v1.cc | ||
test0-fn-changed-libapp.h | ||
test0-fn-changed-report-0.txt | ||
test0-fn-changed-report-1.txt | ||
test0-fn-changed-report-2.txt | ||
test1-fn-removed-app | ||
test1-fn-removed-app.cc | ||
test1-fn-removed-report-0.txt | ||
test1-fn-removed-v0.cc | ||
test1-fn-removed-v1.cc | ||
test2-var-removed-app | ||
test2-var-removed-app.cc | ||
test2-var-removed-report-0.txt | ||
test2-var-removed-v0.cc | ||
test2-var-removed-v1.cc | ||
test3-fn-removed-app | ||
test3-fn-removed-app.cc | ||
test3-fn-removed-report-0.txt | ||
test3-fn-removed-v0.cc | ||
test3-fn-removed-v1.cc | ||
test3-fn-removed-version-script-0 | ||
test3-fn-removed-version-script-1 | ||
test4-soname-changed-app | ||
test4-soname-changed-app.cc | ||
test4-soname-changed-report-0.txt | ||
test4-soname-changed-v0.cc | ||
test4-soname-changed-v1.cc | ||
test5-fn-changed-app | ||
test5-fn-changed-app.cc | ||
test5-fn-changed-libapp-v0.cc | ||
test5-fn-changed-libapp-v0.h | ||
test5-fn-changed-libapp-v1.cc | ||
test5-fn-changed-libapp-v1.h | ||
test5-fn-changed-report-0.txt | ||
test5-fn-changed-report-1.txt | ||
test6-var-changed-app | ||
test6-var-changed-app.cc | ||
test6-var-changed-libapp-v0.cc | ||
test6-var-changed-libapp-v0.h | ||
test6-var-changed-libapp-v1.cc | ||
test6-var-changed-libapp-v1.h | ||
test6-var-changed-report-0.txt | ||
test6-var-changed-report-1.txt | ||
test7-fn-changed-app | ||
test7-fn-changed-app.c | ||
test7-fn-changed-libapp-v0.c | ||
test7-fn-changed-libapp-v0.h | ||
test7-fn-changed-libapp-v1.c | ||
test7-fn-changed-libapp-v1.h | ||
test7-fn-changed-report-0.txt | ||
test7-fn-changed-report-1.txt | ||
test7-fn-changed-report-2.txt |