HomePhabricator

Fix the swig typemap for "uint32_t *versions, uint32_t num_versions".

Authored by jingham on Mar 28 2019, 12:25 PM.

Description

Fix the swig typemap for "uint32_t *versions, uint32_t num_versions".

It was making a list of a certain size but not always filling in that
many elements, which would lead to a crash iterating over the list.

Differential Revision: https://reviews.llvm.org/D59913

llvm-svn: 357207

Details