non-global-value-max-name-size is used by Value to cap the length of local value name. However, this flag is not considered by LLParser, which leads to unexpected use of undefined value error. The fix is to move the responsibility of capping the length to ValueSymbolTable.
The test is the one provided by Mikael in the bug report.
clang-format not found in user's PATH; not linting file.