-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug that suppressed DWARF read tests.
Commit 4252dfd added code to allow the ABI write/reread and compare phases of the tests to be skipped in the case that no ABI files are given for comparison. Unfortunately, the new code skipped those phases unconditionally. This patch changes the in_abi_path and out_abi_path values used in in_out_specs used to trigger the early termination from "" to NULL and updates the conditional logic checking them. Several subsequent commits which affect ABI output were missing these changes to the test data files. This change fixes the following list of commits. 4252dfd dwarf-reader: handle symtab.section_header.sh_entsize == 0 4457c10 dwarf-reader: handle binaries with missing symtab 34e867e dwarf-reader: remove superfluous ABG_ASSERT 2d5389f Fix size calculations for multidimensional arrays. 246ca20 corpus/writer: sort emitted translation units by path name e8bf5b8 Bug 25989 - type_topo_comp doesn't meet irreflexive requirements Finally, this commit also corrects some bad code formatting. * tests/test-read-dwarf.cc (in_out_specs): Use NULL instead of empty ABI paths for test25, test26 and test27. (perform): Check members of spec, rather than locals with same name, when deciding to terminate testing early; fix some code whitespace. * tests/data/test-read-dwarf/test14-pr18893.so.abi: Update multidimensional array sizes. * tests/data/test-read-dwarf/test17-pr19027.so.abi: Ditto. * tests/data/test-read-dwarf/test19-pr19023-libtcmalloc_and_profiler.so.abi: Ditto. * tests/data/test-read-dwarf/test7.so.abi: Ditto. * tests/data/test-read-dwarf/PR25042-libgdbm-clang-dwarf5.so.6.0.0.abi: Update following translation unit ordering change. * tests/data/test-read-dwarf/test13-pr18894.so.abi: Ditto. * tests/data/test-read-dwarf/test14-pr18893.so.abi: Ditto. * tests/data/test-read-dwarf/test15-pr18892.so.abi: Ditto. * tests/data/test-read-dwarf/test16-pr18904.so.abi: Ditto. * tests/data/test-read-dwarf/test17-pr19027.so.abi: Ditto. * tests/data/test-read-dwarf/test18-pr19037-libvtkRenderingLIC-6.1.so.abi: Ditto. * tests/data/test-read-dwarf/test19-pr19023-libtcmalloc_and_profiler.so.abi: Ditto. * tests/data/test-read-dwarf/test20-pr19025-libvtkParallelCore-6.1.so.abi: Ditto. * tests/data/test-read-dwarf/test21-pr19092.so.abi: Ditto. * tests/data/test-read-dwarf/test22-pr19097-libstdc++.so.6.0.17.so.abi: Ditto. * tests/data/test-read-dwarf/PR25007-sdhci.ko.abi: Update following code changes affecting ordering of some ABI elements. * tests/data/test-read-dwarf/test16-pr18904.so.abi Reviewed-by: Matthias Maennich <maennich@google.com> Tested-by: Matthias Maennich <maennich@google.com> Signed-off-by: Giuliano Procida <gprocida@google.com>
- Loading branch information
Showing
14 changed files
with
119,199 additions
and
118,898 deletions.
There are no files selected for viewing
3,442 changes: 1,728 additions & 1,714 deletions
3,442
tests/data/test-read-dwarf/PR25007-sdhci.ko.abi
Large diffs are not rendered by default.
Oops, something went wrong.
1,072 changes: 536 additions & 536 deletions
1,072
tests/data/test-read-dwarf/PR25042-libgdbm-clang-dwarf5.so.6.0.0.abi
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
10,274 changes: 5,137 additions & 5,137 deletions
10,274
tests/data/test-read-dwarf/test14-pr18893.so.abi
Large diffs are not rendered by default.
Oops, something went wrong.
38,226 changes: 19,113 additions & 19,113 deletions
38,226
tests/data/test-read-dwarf/test15-pr18892.so.abi
Large diffs are not rendered by default.
Oops, something went wrong.
44,259 changes: 22,146 additions & 22,113 deletions
44,259
tests/data/test-read-dwarf/test16-pr18904.so.abi
Large diffs are not rendered by default.
Oops, something went wrong.
11,110 changes: 5,555 additions & 5,555 deletions
11,110
tests/data/test-read-dwarf/test17-pr19027.so.abi
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.