I found some APIs are lack in Go binding. So I added them as attached patch.
Added APIs are below:
I created this patch against rL295310. LLVM and Go bindings can be built with this patch.
This is my first attempt to send a patch to LLVM.
So could you please point out if something is wrong. I'll fix it as soon as possible.