OSDN Git Service

Add AllTargetsBindings sublibrary instead of having static inlines in the llvm-c...
authorAnders Waldenborg <anders@0x63.nu>
Tue, 15 Oct 2013 12:08:59 +0000 (12:08 +0000)
committerAnders Waldenborg <anders@0x63.nu>
Tue, 15 Oct 2013 12:08:59 +0000 (12:08 +0000)
commit6480db4b3afb0adb0ffcedc6e88e3b3f394a86cf
treefb5dae0bf434c72c8d6ec1c934d33ab1fdb8aa2a
parentf8f993b675568ea6380ad141371c67679a1b9ac4
Add AllTargetsBindings sublibrary instead of having static inlines in the llvm-c headers.

This new library will be linked in when using the "all-targets"
component and contains the LLVMInitializeAll* functions.

This means that those functions will exist as real symbols in
the shared library, and can therefore can be called from
bindings that are using ffi the shared library.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192690 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/Target.h
lib/Target/AllTargetsBindings/AllTargetsBindings.cpp [new file with mode: 0644]
lib/Target/AllTargetsBindings/CMakeLists.txt [new file with mode: 0644]
lib/Target/AllTargetsBindings/LLVMBuild.txt [new file with mode: 0644]
lib/Target/AllTargetsBindings/Makefile [new file with mode: 0644]
lib/Target/CMakeLists.txt
lib/Target/LLVMBuild.txt
lib/Target/Makefile