[llvm-commits] [PATCH] Request for review. Make target initializer functions external functions in lib.

Anders Waldenborg anders at 0x63.nu
Mon Jun 4 13:13:30 PDT 2012


Making them proper functions defined in the (shared)lib instead of
static inlines defined in the header files makes it possible to
actually distribute a binary compiled against the shared library
without having to worry about getting undefined symbol errors when
calling e.g LLVMInitializeAllTargetInfos because the shared library on
the other system was compiled with different targets.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-llvm-c-Make-target-initializer-functions-external-fu.patch
Type: text/x-diff
Size: 6364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120604/316c63ba/attachment.patch>


More information about the llvm-commits mailing list