[bindings/go] Add ParseIR

This commit adds a single method to the Context object to parse a
textual IR file. This is useful for reading input IR in unit tests.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_80@369210 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed