Merging r354207:
authorHans Wennborg <hans@hanshq.net>
Wed, 27 Feb 2019 10:14:58 +0000 (10:14 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 27 Feb 2019 10:14:58 +0000 (10:14 +0000)
commite93c273d7f1c059b2c8e3983bfa1216fd187f0ac
treeea94e47835d47b2def8d99d39d98b4b4eb54547f
parent4da256c2ee6b8fdde7649936d6420cce37f3b40d
Merging r354207:
------------------------------------------------------------------------
r354207 | whitequark | 2019-02-16 23:33:10 +0100 (Sat, 16 Feb 2019) | 16 lines

[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
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_80@354956 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/go/llvm/ir.go