[LLVM-C] Add Bindings to GlobalIFunc
authorRobert Widmann <devteam.codafi@gmail.com>
Tue, 5 Feb 2019 18:05:44 +0000 (18:05 +0000)
committerRobert Widmann <devteam.codafi@gmail.com>
Tue, 5 Feb 2019 18:05:44 +0000 (18:05 +0000)
commitd5444ccf17cb016779c6ace75e41826173497361
treea0db02f9c042adf60bb9baf0cf9a738610d5575f
parentb26134bf9213d50a506b33803a3410b812f9470a
[LLVM-C] Add Bindings to GlobalIFunc

Summary:
Adds the standard gauntlet of accessors for global indirect functions and updates the echo test.

Now it would be nice to have a target abstraction so one could know if they have access to a suitable ELF linker and runtime.

Reviewers: whitequark, deadalnix

Reviewed By: whitequark

Subscribers: llvm-commits

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

llvm-svn: 353193
llvm/include/llvm-c/Core.h
llvm/lib/IR/Core.cpp
llvm/test/Bindings/llvm-c/echo.ll
llvm/tools/llvm-c-test/echo.cpp