[PATCH] D22736: Make LLVMInitializeAll* API have their symbols
Simonas Kazlauskas via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 24 08:43:00 PDT 2016
nagisa created this revision.
nagisa added reviewers: whitequark, mehdi_amini, deadalnix.
nagisa added a subscriber: llvm-commits.
These functions were the only inline C API functions. This makes it impossible to bind these useful functions from non-C languages via FFI as they rely on symbols for these functions existing.
With this PR a new `libLLVMAllTargets.a` static library is built which contains the non-inline implementations for the functions. I manually confirmed that the `bin` directory does not increase much in size and that `libLLVM-4.0svn.so` contains the newly added symbols.
Resubmission of https://reviews.llvm.org/D22734.
https://reviews.llvm.org/D22736
Files:
docs/ReleaseNotes.rst
include/llvm-c/Target.h
lib/Target/AllTargets/AllTargets.cpp
lib/Target/AllTargets/CMakeLists.txt
lib/Target/CMakeLists.txt
lib/Target/Target.cpp
tools/llvm-c-test/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22736.65275.patch
Type: text/x-patch
Size: 10647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160724/056c7684/attachment.bin>
More information about the llvm-commits
mailing list