Can you (or someone else) merge this change? I do not have commit access. That would allow a request for inclusion in LLVM 8 (I hope).
|1265 ↗||(On Diff #186199)|
That's a modification done by me, because the original code with 1 << 30 led to this bug. The exact number doesn't really matter, as long as it is "big enough".
Yeah this is rather dirty Go, but it's as elegant as things get in CGo land. There may be better ways, and if someone knows one they should probably change this. For now, this fixes a rather important bug (FTBFS).