aboutsummaryrefslogtreecommitdiff
path: root/test_cases/abigail_reader
AgeCommit message (Collapse)Author
2024-03-08test suite: all expected STG output files are now annotatedSid Nayyar
PiperOrigin-RevId: 608943654 Change-Id: I57a7066f4e2c7c37e37d33db484417023f875e15
2023-11-20test cases: simplify reference/type testsGiuliano Procida
These test cases no longer test more than needed nor require passing `-fstandalone-debug` to Clang. PiperOrigin-RevId: 583304173 Change-Id: I74e8ae1cff8fb1a43ef000aa1089e6de8321484e
2023-11-20test cases: simplify namespace/simple testsGiuliano Procida
These test cases were (and probably still are) doing to much. * remove the `help` structure that pulled in various other kinds of type * name the typed entities sequentially (and remove `decl` abbreviation) * remove diff-related bits from the info test PiperOrigin-RevId: 583303930 Change-Id: I3eb0f1979c04dd5de71df29c10c0b195fa6b12f8
2023-11-15proto: Sort ELF symbols by versioned name while printingSid Nayyar
Sort `ElfSymbol` nodes by name, version info presence, default version and version name in this order. Use node ID to disambiguate nodes in case versioned names are equivalent. PiperOrigin-RevId: 581234138 Change-Id: Ica50b134bcb300f86e31181097921375dfe6c6f0
2023-11-15proto: Sort methods by mangled name while printingSid Nayyar
Sort `Method` nodes by mangled name and then unique external node ID. PiperOrigin-RevId: 581229412 Change-Id: Idee11e5090304e41c3212c7875d69c1ceeeb0719
2023-11-15test cases: add abigail_reader tests converted from info_testsAleksei Vetrov
Create XML files from all "info" test cases to test abigail reader. XML files were generated using `abidw` (version `2.1.0`) on compiled source files from `info_tests`. For example, commands would look like: ``` clang-17 -std=c17 -g -fstandalone-debug --target=riscv64-linux-gnu \ -c simple_array.c -o simple_array.c.o abidw --no-architecture --no-corpus-path --type-id-style hash \ --no-comp-dir-path --no-show-locs simple_array.c.o \ > simple_array.c.raw_xml ``` STG expectation files were generated by running command like: `stg --abi simple_array.c.xml --output expected/simple_array_c.abi_stg` PiperOrigin-RevId: 580932823 Change-Id: I2fc00a76c164f61fa779750ed84975af0cfa298e