[CMake] export_executable_symbols also needs to add -rdynamic to the linker flags...
authorChris Bieneman <beanz@apple.com>
Tue, 24 Nov 2015 00:58:58 +0000 (00:58 +0000)
committerChris Bieneman <beanz@apple.com>
Tue, 24 Nov 2015 00:58:58 +0000 (00:58 +0000)
commitb856f91ff457d0abf7ae9500fe08b7d9468e0c09
tree541ac013661525fcfb904bb1437c70a83fc9d699
parentef9dbc69b51c02b2657e0a4fa3002a3d6949acf5
[CMake] export_executable_symbols also needs to add -rdynamic to the linker flags on Darwin

Without -rdynamic LLVM built with LTO fails to pass "check" due to loadable modules failing.

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