1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools
Chris Bieneman 17f4cbe676 Adding llvm-shlib to CMake build system with a few new bells and whistles
Summary:
This patch adds a new CMake build setting LLVM_BUILD_LLVM_DYLIB, which defaults to OFF. When set to ON, this will generate a shared library containing most of LLVM. The contents of the shared library can be overriden by specifying LLVM_DYLIB_COMPONENTS. LLVM_DYLIB_COMPONENTS can be set to a semi-colon delimited list of any LLVM components that you llvm-config can resolve.

On Windows, unless you are using Cygwin, you must specify an explicit symbol export file using LLVM_EXPORTED_SYMBOL_FILE. On Cygwin and all unix-like platforms if you do not specify LLVM_EXPORTED_SYMBOL_FILE, an export file containing only the LLVM C API will be auto-generated from the list of LLVM components specified in LLVM_DYLIB_COMPONENTS.

Reviewers: rnk

Reviewed By: rnk

Subscribers: rnk, llvm-commits

Differential Revision: http://reviews.llvm.org/D5890

llvm-svn: 220490
2014-10-23 17:22:14 +00:00
..
bugpoint Delete -std-compile-opts. 2014-10-16 20:00:02 +00:00
bugpoint-passes [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32. 2014-07-13 13:36:48 +00:00
gold Fix a gcc warning. 2014-10-22 02:23:31 +00:00
llc Add doInitialization/doFinalization to DataLayoutPass. 2014-09-10 21:27:43 +00:00
lli [MCJIT] Remove a few more references to JITMemoryManager that survived r218316. 2014-09-23 17:10:24 +00:00
llvm-ar Make two helper functions static. 2014-10-22 15:05:51 +00:00
llvm-as Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-bcanalyzer Teach llvm-bcanalyzer to use one stream's BLOCKINFO to read another stream. 2014-08-30 17:07:55 +00:00
llvm-c-test Extend C disassembler API to allow specifying target features 2014-09-30 16:31:40 +00:00
llvm-config Enabling LLVM & Clang to be cross-compiled using CMake from a single configuration command line 2014-09-03 23:21:18 +00:00
llvm-cov Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
llvm-diff Return a std::unique_ptr from the IRReader.h functions. NFC. 2014-08-26 17:29:46 +00:00
llvm-dis Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-dwarfdump Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already. 2014-08-30 16:48:02 +00:00
llvm-extract Add doInitialization/doFinalization to DataLayoutPass. 2014-09-10 21:27:43 +00:00
llvm-go Add llvm-go tool. 2014-10-23 02:33:23 +00:00
llvm-jitlistener [CMake] Prune CRLF in CMakeLists.txt(s). 2014-10-23 11:31:50 +00:00
llvm-link Invert the condition to have a single return. 2014-08-26 18:03:35 +00:00
llvm-lto LTO: Ignore disabled diagnostic remarks 2014-10-01 18:36:03 +00:00
llvm-mc Simplify handling of --noexecstack by using getNonexecutableStackSection. 2014-10-15 16:12:52 +00:00
llvm-mcmarkup Explicitly pass ownership of the MemoryBuffer to AddNewSourceBuffer using std::unique_ptr 2014-08-21 20:44:56 +00:00
llvm-nm LTO: introduce object file-based on-disk module format. 2014-09-18 21:28:49 +00:00
llvm-objdump [llvm-objdump] Fix -private-headers for mach-o to print all LC_*_DYLIB variants 2014-10-16 18:58:20 +00:00
llvm-profdata Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-readobj Add a test that would have found the bug in r219829. 2014-10-17 01:34:23 +00:00
llvm-rtdyld [MCJIT] Add command-line argument to llvm-rtdyld to specify target addresses for 2014-09-04 04:19:54 +00:00
llvm-shlib Adding llvm-shlib to CMake build system with a few new bells and whistles 2014-10-23 17:22:14 +00:00
llvm-size Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
llvm-stress Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-symbolizer [llvm-symbolizer] Introduce the -dsym-hint option. 2014-10-17 00:50:19 +00:00
llvm-vtabledump Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
lto Remove definition of LLVM_VERSION_INFO; this macro is not used by any of the 2014-09-26 21:53:12 +00:00
macho-dump Adds the next bit of support for llvm-objdump’s -private-headers for executable Mach-O files. 2014-09-04 16:54:47 +00:00
msbuild MSBuild integration: fix the loop in install.bat 2014-09-30 22:30:06 +00:00
obj2yaml obj2yaml, COFF: Handle long section names 2014-10-10 00:17:57 +00:00
opt Delete -std-compile-opts. 2014-10-16 20:00:02 +00:00
verify-uselistorder Pass a MemoryBufferRef when we can avoid taking ownership. 2014-08-26 21:49:01 +00:00
yaml2obj Fixing a -Wsign-compare warning; NFC. 2014-10-22 13:09:43 +00:00
CMakeLists.txt Adding llvm-shlib to CMake build system with a few new bells and whistles 2014-10-23 17:22:14 +00:00
LLVMBuild.txt Rename llvm-uselistorder => verify-uselistorder 2014-07-30 17:11:27 +00:00
Makefile Add llvm-go tool. 2014-10-23 02:33:23 +00:00