Add capability to get and set the personalitty function from the C API
authorAndrew Wilkins <axwalk@gmail.com>
Tue, 14 Jul 2015 01:23:06 +0000 (01:23 +0000)
committerAndrew Wilkins <axwalk@gmail.com>
Tue, 14 Jul 2015 01:23:06 +0000 (01:23 +0000)
commit7c492a17521b12b59c379cc3bfc6ffbe8415153c
treeffdcc1a50dcffa197e4da46477bedd292207162e
parentce0f2eda634b7d4495af6b962d56df81c1c66dff
Add capability to get and set the personalitty function from the C API

Summary:
The capability was lost with D10429 where the personality function was set at function level rather than landing pad level. Now there is no way to get/set the personality function from the C API. That is a problem.

Note that the whole thing could be avoided by improving the C API testing, as started by D10725

Reviewers: chandlerc, bogner, majnemer, andrew.w.kaylor, rafael, rnk, axw

Subscribers: rafael, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242104 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/Core.h
lib/IR/Core.cpp