mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-25 04:50:04 +00:00
58d8b4e29c
* 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:
|
||
---|---|---|
.. | ||
binary_version_test.cpp | ||
CMakeLists.txt | ||
entry_points_test.cpp | ||
global_values_amount_test.cpp | ||
ids_limit_test.cpp | ||
linker_fixture.h | ||
matching_imports_to_exports_test.cpp | ||
memory_model_test.cpp | ||
partial_linkage_test.cpp | ||
type_match_test.cpp | ||
unique_ids_test.cpp |