OSDN Git Service

[bindings/go] Add Go bindings for CalledValue
authorAyke van Laethem <aykevanlaethem@gmail.com>
Sat, 8 Jun 2019 22:08:52 +0000 (22:08 +0000)
committerAyke van Laethem <aykevanlaethem@gmail.com>
Sat, 8 Jun 2019 22:08:52 +0000 (22:08 +0000)
commitac449df582e991e921ee17643b5904aca34159d2
tree27343cca6dc7405ee36c370ec40c25cb3b0eb98a
parentc9ddc67316a26cb8354d9866068f856f67bfe5c9
[bindings/go] Add Go bindings for CalledValue

This is very useful for inspecting generated IR, there appears to be no
other way to get the called function from a CallInst.

Revision: https://reviews.llvm.org/D52972

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