diff options
author | Chris Bieneman <beanz@apple.com> | 2015-10-27 16:02:04 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2015-10-27 16:02:04 +0000 |
commit | 9c5e41f329b20ecf4f19233e4c7c91b3d05c6c25 (patch) | |
tree | 6c6e1884ef646c4e7149964f502ec477f1f2c8c0 /llvm/lib/MC/StringTableBuilder.cpp | |
parent | 6ea75dbeb089bb398f611256320fc9a88d830f2f (diff) | |
download | llvm-9c5e41f329b20ecf4f19233e4c7c91b3d05c6c25.zip llvm-9c5e41f329b20ecf4f19233e4c7c91b3d05c6c25.tar.gz llvm-9c5e41f329b20ecf4f19233e4c7c91b3d05c6c25.tar.bz2 |
[CMake] Get rid of LLVM_DYLIB_EXPORT_ALL, and make it the default, add libLLVM-C on darwin to cover the C API needs.
Summary:
We've had a lot of discussion in the past about the meaningful and useful default behaviors for the llvm-shlib tool. The original implementation was heavily geared toward Apple's use, and I think that was wrong. This patch seeks to correct that.
I've removed the LLVM_DYLIB_EXPORT_ALL variable and made libLLVM export everything by default.
I've also added a new target that is only built on Darwin for libLLVM-C as a library that re-exports the LLVM-C API. This library is not built on Linux because ELF doesn't support re-export libraries in the same way MachO does.
Reviewers: chapuni, resistor, bogner, axw
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D13842
llvm-svn: 251411
Diffstat (limited to 'llvm/lib/MC/StringTableBuilder.cpp')
0 files changed, 0 insertions, 0 deletions