mirror of
https://gitee.com/openharmony/third_party_spirv-tools
synced 2024-11-23 15:30:36 +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 |