[v2,0/4] add symbol namespace support, update symbol CRC support

Message ID 20220316163055.4127796-1-gprocida@google.com
Headers
Series add symbol namespace support, update symbol CRC support |

Message

Giuliano Procida March 16, 2022, 4:30 p.m. UTC
  New in v2:

* updates following review (includng tweaking a function I copied from)
* better offset checking and working extraction of namespace from .ko
* rework of CRCs to be similar to namespaces (use of optional etc.)
* test case additions / updates

Giuliano Procida (4):
  optional: minor improvements
  crc_changed: eliminate copying of shared_ptr values
  add Linux kernel symbol namespace support
  Linux symbol CRCs: support 0 and report presence changes

 include/abg-cxx-compat.h                      | 30 +++++++--
 include/abg-ir.h                              | 17 ++++--
 src/abg-comp-filter.cc                        | 46 ++++++++++++--
 src/abg-ir.cc                                 | 47 ++++++++++----
 src/abg-reader.cc                             | 15 +++--
 src/abg-reporter-priv.cc                      | 38 ++++++++++--
 src/abg-symtab-reader.cc                      | 61 +++++++++++++++++++
 src/abg-writer.cc                             |  9 ++-
 tests/data/Makefile.am                        |  7 ++-
 .../data/test-abidiff/test-crc-report-0-1.txt | 16 +++++
 .../data/test-abidiff/test-crc-report-1-0.txt | 16 +++++
 ...crc-report.txt => test-crc-report-1-2.txt} |  0
 tests/data/test-abidiff/test-namespace-0.xml  | 15 +++++
 tests/data/test-abidiff/test-namespace-1.xml  | 15 +++++
 .../test-abidiff/test-namespace-report.txt    | 17 ++++++
 tests/test-abidiff.cc                         | 12 +++-
 tests/test-symtab.cc                          |  8 +--
 17 files changed, 322 insertions(+), 47 deletions(-)
 create mode 100644 tests/data/test-abidiff/test-crc-report-0-1.txt
 create mode 100644 tests/data/test-abidiff/test-crc-report-1-0.txt
 rename tests/data/test-abidiff/{test-crc-report.txt => test-crc-report-1-2.txt} (100%)
 create mode 100644 tests/data/test-abidiff/test-namespace-0.xml
 create mode 100644 tests/data/test-abidiff/test-namespace-1.xml
 create mode 100644 tests/data/test-abidiff/test-namespace-report.txt