reporting: print newlines following diffs in `PrintComparison`

Ensure that newlines are handled by `PrintComparison` itself and any
other logic to print lines in reports need not worry about the handling
of newlines in different parts of the code. In other words, all printing
code will handle its own newlines moving forward, and not tangle with
other lines in a diff report.

PiperOrigin-RevId: 487784695
Change-Id: Id51fdbe69e641588d20859652fdbe0922cd06bf4
1 file changed
tree: 92cf717e6d70e5ea86a0b102c79ed63b03433668
  1. doc/
  2. fuzz/
  3. testdata/
  4. abigail_reader.cc
  5. abigail_reader.h
  6. btf_reader.cc
  7. btf_reader.h
  8. catch.cc
  9. CONTRIBUTING.md
  10. crc.h
  11. dwarf.cc
  12. dwarf.h
  13. elf_loader.cc
  14. elf_loader.h
  15. elf_reader.cc
  16. elf_reader.h
  17. error.h
  18. error_test.cc
  19. file_descriptor.cc
  20. file_descriptor.h
  21. id.h
  22. LICENSE
  23. METADATA
  24. MODULE_LICENSE_LLVM
  25. order.h
  26. order_test.cc
  27. OWNERS
  28. post_processing.cc
  29. post_processing.h
  30. README.md
  31. reporting.cc
  32. reporting.h
  33. scc.h
  34. scc_test.cc
  35. stg.cc
  36. stg.h
  37. stgdiff.cc
  38. stgdiff_test.cc
  39. stginfo.cc
README.md

Symbol-Type Graph (STG)

The STG (symbol-type graph) is an ABI representation and this project contains tools for the creation and comparison of such representations. At present parsers exist for libabigail's ABI XML (C types only) and BTF. The ABI diff tool, stgdiff, supports multiple reporting options. This software currently depends on libabigail for ELF symbol functionality, on libxml2 for XML parsing and on Linux UAPI headers for BTF types.

How to build the project

TBD

Contributions

See CONTRIBUTING.md for details.