SPIRV-Tools/test/link
Pierre Moreau 58d8b4e29c
linker: Address conversion error introduced in earlier rework (#4685)
* linker: Address conversion error introduced in earlier rework

Also rework the code slightly to first compute the new ID bound and
validate it, and only then, offset all existing IDs.

This makes those two steps clearer, and avoids potentially overflowing
the IDs within a module (even if that would have been caught later on).

Fixes: c3849565 ("Linker improvements (#4679)")
Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/4684

* test/linker: Disable IdsLimit tests for now

They are taking too long to run and results in the CI jobs timing out.
2022-01-24 13:40:57 -05:00
..
binary_version_test.cpp Linker improvements (#4679) 2022-01-22 15:40:19 -05:00
CMakeLists.txt linker: Add tests for various type comparisons (#2613) 2019-05-24 15:40:28 -04:00
entry_points_test.cpp Linker improvements (#4679) 2022-01-22 15:40:19 -05:00
global_values_amount_test.cpp Linker improvements (#4679) 2022-01-22 15:40:19 -05:00
ids_limit_test.cpp linker: Address conversion error introduced in earlier rework (#4685) 2022-01-24 13:40:57 -05:00
linker_fixture.h linker: Add tests for various type comparisons (#2613) 2019-05-24 15:40:28 -04:00
matching_imports_to_exports_test.cpp Linker improvements (#4679) 2022-01-22 15:40:19 -05:00
memory_model_test.cpp Linker improvements (#4679) 2022-01-22 15:40:19 -05:00
partial_linkage_test.cpp Linker improvements (#4679) 2022-01-22 15:40:19 -05:00
type_match_test.cpp Linker improvements (#4679) 2022-01-22 15:40:19 -05:00
unique_ids_test.cpp Linker improvements (#4679) 2022-01-22 15:40:19 -05:00