mbox

[0/4] Fix incomplete function type bug in abg-reader

Message ID 20200505180612.232158-1-gprocida@google.com
Headers

Message

Giuliano Procida May 5, 2020, 6:06 p.m. UTC
  This series is to be applied in sequence. The test can be moved after
the other changes and folded into one commit, if you prefer.

This seemed liked the simplest way to fix the issue, side-stepping
some uses of type names completely.

Regards,
Giuliano.

Giuliano Procida (4):
  Add XML reader test for incomplete function types.
  abg-reader.cc: Late canonicalise all types.
  abg-reader.cc: Strip out WIP type tracking.
  Pass bind_function_type_life_time a complete type.

 src/abg-reader.cc                             | 173 ++++--------------
 tests/data/Makefile.am                        |   7 +
 .../test-fun-param-report.txt                 |  15 ++
 .../test-abidiff-exit/test-fun-param-v0.abi   |  44 +++++
 .../test-abidiff-exit/test-fun-param-v0.c     |   7 +
 .../test-abidiff-exit/test-fun-param-v0.o     | Bin 0 -> 2992 bytes
 .../test-abidiff-exit/test-fun-param-v1.abi   |  46 +++++
 .../test-abidiff-exit/test-fun-param-v1.c     |   7 +
 .../test-abidiff-exit/test-fun-param-v1.o     | Bin 0 -> 3000 bytes
 tests/test-abidiff-exit.cc                    |   9 +
 10 files changed, 168 insertions(+), 140 deletions(-)
 create mode 100644 tests/data/test-abidiff-exit/test-fun-param-report.txt
 create mode 100644 tests/data/test-abidiff-exit/test-fun-param-v0.abi
 create mode 100644 tests/data/test-abidiff-exit/test-fun-param-v0.c
 create mode 100644 tests/data/test-abidiff-exit/test-fun-param-v0.o
 create mode 100644 tests/data/test-abidiff-exit/test-fun-param-v1.abi
 create mode 100644 tests/data/test-abidiff-exit/test-fun-param-v1.c
 create mode 100644 tests/data/test-abidiff-exit/test-fun-param-v1.o