Expose setPersonalityFn to Go
authorAndrew Wilkins <axwalk@gmail.com>
Wed, 15 Jul 2015 13:03:08 +0000 (13:03 +0000)
committerAndrew Wilkins <axwalk@gmail.com>
Wed, 15 Jul 2015 13:03:08 +0000 (13:03 +0000)
commit9226c071b0065918ce487872895f7dae35ce2382
tree83034efcdf9221620bb27166bae3e91a363b90f7
parent17351cfb43e320129b854fff774cd81a6154fcb9
Expose setPersonalityFn to Go

Summary:
Add Value.SetPersonality to the Go bindings. The Go
bindings' Builder.CreateLandingPad has been updated,
removing the obsolete personality argument.

Background

The personality attribute was removed from LandingPadInst
in r239940, and llvm::Function::setPersonalityFn introduced.

There was no corresponding change to either the C API or
Go bindings. The Go bindings were broken until r239940, but
that change was just to ignore the personality argument.
This broke llgo.

Reviewers: majnemer, pcc

Subscribers: deadalnix, llvm-commits, axw

Differential Revision: http://reviews.llvm.org/D11116

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