summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAsiri Rathnayake <asiri.rathnayake@arm.com>2016-05-27 08:29:27 +0000
committerAsiri Rathnayake <asiri.rathnayake@arm.com>2016-05-27 08:29:27 +0000
commit85624c5de3e831ffa01fdc2d159e3d69c30de08d (patch)
tree410fa9d1bdb1b570b17363a2fdee5fa105224dfc
parent1ef68456cff73736256b923b0b0cd2cfd7f8ce43 (diff)
downloadbcm5719-llvm-85624c5de3e831ffa01fdc2d159e3d69c30de08d.tar.gz
bcm5719-llvm-85624c5de3e831ffa01fdc2d159e3d69c30de08d.zip
[libunwind] Disable cross-unwinding by default.
Cross unwinding requires larger sizes for unw_context_t and unw_cursor_t buffers (large enough to hold the VRS of any architecture). This is not desirable for the most common situation where libunwind is used for native unwinding only. This patch makes native unwinding the default build configuration. This will start testing the tigher (compile-time) bounds of unw_context_t and unw_cursor_t buffers for each architecture. Change-Id: Ic61c476a75603ca4812959c233cfe56f83dc0b00 llvm-svn: 270972
-rw-r--r--libunwind/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwind/CMakeLists.txt b/libunwind/CMakeLists.txt
index 628225b0089..7ed1f10484f 100644
--- a/libunwind/CMakeLists.txt
+++ b/libunwind/CMakeLists.txt
@@ -103,7 +103,7 @@ option(LIBUNWIND_ENABLE_ASSERTIONS "Enable assertions independent of build mode.
option(LIBUNWIND_ENABLE_PEDANTIC "Compile with pedantic enabled." ON)
option(LIBUNWIND_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF)
option(LIBUNWIND_ENABLE_SHARED "Build libunwind as a shared library." ON)
-option(LIBUNWIND_ENABLE_CROSS_UNWINDING "Enable cross-platform unwinding support." ON)
+option(LIBUNWIND_ENABLE_CROSS_UNWINDING "Enable cross-platform unwinding support." OFF)
set(LIBUNWIND_GCC_TOOLCHAIN "" CACHE STRING "GCC toolchain for cross compiling.")
set(LIBUNWIND_SYSROOT "" CACHE STRING "Sysroot for cross compiling.")
OpenPOWER on IntegriCloud