Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XML writer: emit enclosing types of scoped declarations
Bug 26591 - detect pathologically redundant types in abixml One source of duplicated type ids in ABI XML is the writer emitting scoped (nested) typed declarations before a later TU causes the emission of the complete enclosing type declaration. This commit causes the outermost enclosing type declaration to be emitted immediately. * src/abg-writer.cc: (write_decl_in_scope): Emit the enclosing types of any nested type declaration. * tests/data/test-annotate/test15-pr18892.so.abi: Refresh. * tests/data/test-annotate/test17-pr19027.so.abi: Refresh. * tests/data/test-annotate/test19-pr19023-libtcmalloc_and_profiler.so.abi: Refresh. * tests/data/test-annotate/test20-pr19025-libvtkParallelCore-6.1.so.abi: Refresh. * tests/data/test-read-dwarf/test-libandroid.so.abi: Refresh. * tests/data/test-read-dwarf/test12-pr18844.so.abi: Refresh. * tests/data/test-read-dwarf/test15-pr18892.so.abi: Refresh. * tests/data/test-read-dwarf/test16-pr18904.so.abi: Refresh. * tests/data/test-read-dwarf/test17-pr19027.so.abi: Refresh. * tests/data/test-read-dwarf/test19-pr19023-libtcmalloc_and_profiler.so.abi: Refresh. * tests/data/test-read-dwarf/test20-pr19025-libvtkParallelCore-6.1.so.abi: Refresh. * tests/data/test-read-dwarf/test22-pr19097-libstdc++.so.6.0.17.so.abi: Refresh. * tests/data/test-read-dwarf/test9-pr18818-clang.so.abi: Refresh. Signed-off-by: Giuliano Procida <gprocida@google.com>
- Loading branch information
Showing
14 changed files
with
23,570 additions
and
21,752 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
2,754 changes: 1,357 additions & 1,397 deletions
2,754
tests/data/test-annotate/test17-pr19027.so.abi
Large diffs are not rendered by default.
Oops, something went wrong.
2,270 changes: 1,349 additions & 921 deletions
2,270
tests/data/test-annotate/test19-pr19023-libtcmalloc_and_profiler.so.abi
Large diffs are not rendered by default.
Oops, something went wrong.
3,764 changes: 2,192 additions & 1,572 deletions
3,764
tests/data/test-annotate/test20-pr19025-libvtkParallelCore-6.1.so.abi
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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.