SPIRV-Tools/test/link
Karol Herbst edaf51038b
linker: Recalculate interface variables (#4784)
* linker: Recalculate interface variables

By resolving extern symbols Entry Points might access variables they
hadn't declared before.

* test/linker: add test to verify linked spir-vs importing functions validate

Without the fix Validate will complain about:

"ERROR: 9: Interface variable id <5> is used by entry point 'bar' id <1>, but is not listed as an interface\n  %5 = OpVariable %_ptr_Input_v3uint Input\n"
2022-05-03 13:23:02 +00: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: Recalculate interface variables (#4784) 2022-05-03 13:23:02 +00: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: Recalculate interface variables (#4784) 2022-05-03 13:23:02 +00: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