]> granicus.if.org Git - llvm/commit
build: add option to disable unwind tables
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 2 May 2019 19:37:26 +0000 (19:37 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 2 May 2019 19:37:26 +0000 (19:37 +0000)
commit86b49e2b741eec98bc7afc6e075ace823e616f50
tree9d4ce63838140bdf7ebbf20526df2887d8612cab
parentd86591e1d1f0d6e720cee72a2e4dfe351c9d4350
build: add option to disable unwind tables

The unwind tables (`.eh_frame`, `.arm.extab`) add a significant chunk of data to
the final binaries.  These should not be needed normally, particularly when
exceptions are disabled.  This enables shrinking `lldb-server` by ~18% (3 MiB)
when built with gold.

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