OSDN Git Service

[LLVM-C] Add an accessor for the "value type" of a global
authorRobert Widmann <devteam.codafi@gmail.com>
Fri, 28 Sep 2018 20:54:29 +0000 (20:54 +0000)
committerRobert Widmann <devteam.codafi@gmail.com>
Fri, 28 Sep 2018 20:54:29 +0000 (20:54 +0000)
commit7776c2f4d8d1f84e46e866e1460ad9c05aa5c741
tree6834c29554fc9a6dd40cfc51feaef3364ad32f57
parent552971168d6847c2bfcb9652c00062298a5111e2
[LLVM-C] Add an accessor for the "value type" of a global

Summary: Before this, there was no reasonable way to retrieve the type of a global value (most notably, a function) that was created with  the C API.

Reviewers: whitequark, deadalnix

Reviewed By: whitequark

Subscribers: llvm-commits

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

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