[CMake] Add option LLVM_EXTERNALIZE_DEBUGINFO
authorChris Bieneman <beanz@apple.com>
Thu, 3 Dec 2015 18:45:39 +0000 (18:45 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 3 Dec 2015 18:45:39 +0000 (18:45 +0000)
commit0123bc6beac1ca9a06450e98d8e829d32ce52498
treed22036983ec44137034a2c818c7610c33a881c1c
parentd61481245dc307bd0c15b7a681fc0b196884589c
[CMake] Add option LLVM_EXTERNALIZE_DEBUGINFO

Summary: This adds support for generating dSYM files and stripping debug info from executables and dylibs. It also supports passing -object_path_lto to the linker to generate dSYMs for LTO builds.

Reviewers: bogner, friss

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254627 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
cmake/modules/AddLLVM.cmake