SPIRV-Tools/utils
Lei Zhang 063dbea0f1 Turn all function static non-POD variables into global POD variables
Function static non-POD data causes problems with DLL lifetime.
This pull request turns all static info tables into strict POD
tables. Specifically, the capabilities/extensions field of
opcode/operand/extended-instruction table are turned into two
fields, one for the count and the other a pointer to an array of
capabilities/extensions. CapabilitySet/EnumSet are not used in
the static table anymore, but they are still used for checking
inclusion by constructing on the fly, which should be cheap for
the majority cases.

Also moves all these tables into the global namespace to avoid
C++11 function static thread-safe initialization overhead.
2017-10-25 15:44:19 -04:00
..
check_copyright.py Implement Linker (module combiner) 2017-10-06 18:33:53 -04:00
generate_grammar_tables.py Turn all function static non-POD variables into global POD variables 2017-10-25 15:44:19 -04:00
generate_registry_tables.py Get vendor tool info from the SPIR-V registry file 2016-12-09 14:01:43 -05:00
generate_vim_syntax.py Generate spvasm.vim 2016-12-20 11:36:41 -05:00
update_build_version.py Do nothing if trying to make the current dir 2017-03-20 11:23:35 -04:00