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)
commit02ee3efb0cdf689bea9fe63354dc236545eabd16
treeded1cb67cb6abee9aeef20853a7fdf85a8d3a545
parentc11fd3e7751fe4e8ade1c902d71729ccf6d55678
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

llvm-svn: 242289
llvm/bindings/go/llvm/ir.go