[bindings/go] Fix building on 32-bit systems (ARM etc.)
authorwhitequark <whitequark@whitequark.org>
Sat, 16 Feb 2019 22:33:10 +0000 (22:33 +0000)
committerwhitequark <whitequark@whitequark.org>
Sat, 16 Feb 2019 22:33:10 +0000 (22:33 +0000)
commit21da42945b72719b69939381feff081491f5bdca
tree2920ab6bcabe27d9c4eea94e1d127d3d443485d0
parentb81d715cd25178d413431258667861485bb0ff89
[bindings/go] Fix building on 32-bit systems (ARM etc.)

Summary:
The patch in https://reviews.llvm.org/D53883 (by me) fails to build on 32-bit systems like ARM. Fix the array size to be less ridiculously large. 2<<20 should still be enough for all practical purposes.

Bug: https://bugs.llvm.org/show_bug.cgi?id=40426

Reviewers: whitequark, pcc

Reviewed By: whitequark

Subscribers: javed.absar, kristof.beyls, llvm-commits

Tags: #llvm

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

llvm-svn: 354207
llvm/bindings/go/llvm/ir.go