summaryrefslogtreecommitdiffstats
path: root/libunwind/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
...
* [libunwind][CMake] Use libc++ headers when availablePetr Hosek2017-02-161-0/+20
| | | | | | | | | libunwind depends on C++ library headers. When building libunwind as part of LLVM and libc++ is available, use its headers. Differential Revision: https://reviews.llvm.org/D29997 llvm-svn: 295285
* Revert "[libunwind][CMake] Use libc++ headers when available"Petr Hosek2017-02-151-20/+0
| | | | | | | | | This causing build failure on sanitizer bots because of the unused argument '-nostdinc++' during linking of libunwind. This reverts commit 0e14fd1a1d37b9c6d55a2d3bc7649e5b39ce74d3. llvm-svn: 295202
* [libunwind][CMake] Use libc++ headers when availablePetr Hosek2017-02-151-0/+20
| | | | | | | | | libunwind depends on C++ library headers. When building libunwind as part of LLVM and libc++ is available, use its headers. Differential Revision: https://reviews.llvm.org/D29800 llvm-svn: 295153
* Revert "[libunwind][CMake] Use libc++ headers when available"Petr Hosek2017-02-091-19/+0
| | | | | | | | This is causing build failure when building libc++abi with libunwind. This reverts commit 42bf29501dfa79f211841de060386d539933e811. llvm-svn: 294556
* [libunwind][CMake] Use libc++ headers when availablePetr Hosek2017-02-091-0/+19
| | | | | | | | | libunwind depends on C++ library headers. When building libunwind as part of LLVM and libc++ is available, use its headers. Differential Revision: https://reviews.llvm.org/D29573 llvm-svn: 294554
* Don't dump llvm-config --cmakedir output if command fails.Eric Fiselier2017-01-141-1/+2
| | | | | | | | This patch adjusts the out-of-tree CMake configuration so that the stderr output is ignored when an old llvm-config is found that doesn't support --cmakedir. llvm-svn: 291992
* Bump version to 5.0.0svnHans Wennborg2017-01-121-1/+1
| | | | llvm-svn: 291830
* [cmake] Obtain LLVM_CMAKE_PATH from llvm-config if availableMichal Gorny2017-01-091-1/+12
| | | | | | | | Use the new --cmakedir option to obtain LLVM_CMAKE_PATH straight from llvm-config. Fallback to local reconstruction if llvm-config does not support this option. llvm-svn: 291505
* [CMake] Get libunwind building under LLVM/runtimesPetr Hosek2016-11-081-4/+6
| | | | | | | | | | | | | | | The new LLVM runtimes directory requires the same conventions to be followed across the runtime projects. These changes make libunwind build under the runtimes subdirectory. This patch contains the following changes: * Rename LLVM_CONFIG to LLVM_CONFIG_PATH * Check if compiler supports C++11 (required by libunwind) Differential Revision: https://reviews.llvm.org/D26360 llvm-svn: 286308
* [libunwind] Add support for a single-threaded libunwind buildAsiri Rathnayake2016-09-281-0/+6
| | | | | | | | | | | | | | The EHABI unwinder is thread-agnostic, SJLJ unwinder and the DWARF unwinder have a couple of pthread dependencies. This patch makes it possible to build the whole of libunwind for a single-threaded environment. Reviewers: compnerd Differential revision: https://reviews.llvm.org/D24984 llvm-svn: 282575
* Allow building both shared and static libraryPetr Hosek2016-08-081-0/+5
| | | | | | | | | This change allows building both shared and static version of libunwind in a single build, sharing object files between both versions. Differential Revision: https://reviews.llvm.org/D23233 llvm-svn: 278067
* CMakeLists.txt cleanups: synchronize version and CMake minimum required ↵Eugene Zelenko2016-08-081-22/+21
| | | | | | | | version with rest of LLVM, consistent spacing. Differential revision: https://reviews.llvm.org/D23094 llvm-svn: 278029
* [libunwind][ARM] Improve unwinder stack usage - Make WMMX support optionalAsiri Rathnayake2016-07-071-0/+10
| | | | | | | | | | | | | These registers are only available on a limited set of ARM targets (those based on XScale). Other targets should not have to pay the cost of these. This patch shaves off about ~300 bytes of stack usage and ~1KB of code-size. Differential revision: http://reviews.llvm.org/D21991 Reviewers: bcraig, compnerd Change-Id: I2d7a1911a193bd70b123e78747e1a7d1482463c7 llvm-svn: 274744
* Add status/warning message for 32 bit buildsEric Fiselier2016-06-021-0/+10
| | | | llvm-svn: 271462
* [libunwind] Allow target flags to affect CMake configuration testsEric Fiselier2016-06-021-19/+31
| | | | | | | | | | | | | | | | | | | | | Summary: This patch changes the libunwind CMake so that it adds certain target flags like '-m32' or '--gcc-toolchain' before including config-ix.cmake. Since these flags can affect things like check_library_exists([...]) they needed to be added before the tests are performed. Additionally this patch adds LIBUNWIND_BUILD_32_BITS which defaults to LLVM_BUILD_32_BITS. This patch fixes: https://llvm.org/bugs/show_bug.cgi?id=27950 https://llvm.org/bugs/show_bug.cgi?id=27959 Reviewers: jroelofs, danalbert, bcraig, rmaprath, compnerd Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D20889 llvm-svn: 271458
* [libunwind] Disable cross-unwinding by default.Asiri Rathnayake2016-05-271-1/+1
| | | | | | | | | | | | | | 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
* Introduce a native-only unwinder build.Asiri Rathnayake2016-05-251-0/+6
| | | | | | | | | | | | | | | | Currently libunwind is built to support cross-unwinding [1] by default, which requires the buffers unw_context_t and unw_cursor_t to be large enough to hold the vritual register set (VRS) of any supported architecture. This is not desirable for some platforms where the stack usage of the unwinder needs to be kept to a minimum (e.g. bare-metal targets). The current patch introduces a native-only (-DLIBUNWIND_ENABLE_CROSS_UNWINDING=OFF) unwinder variant that adopts strict sizes for the buffers unw_context_t and unw_cursor_t depending on the target architecture. [1] http://www.nongnu.org/libunwind/man/libunwind(3).html#section_4 Change-Id: I380fff9a56c16a0fc520e3b1d8454a34b4a48373 llvm-svn: 270692
* Adapt LLVM_CMAKE_PATH for recent cmake path changesKamil Rytarowski2016-02-061-2/+1
| | | | | | Current LLVM installs CMake files under lib/cmake/llvm. llvm-svn: 259994
* Revert test commit.Tanya Lattner2015-08-061-1/+1
| | | | llvm-svn: 244297
* Test commitTanya Lattner2015-08-061-1/+1
| | | | llvm-svn: 244296
* Update to new lists.llvm.orgTanya Lattner2015-08-051-1/+1
| | | | llvm-svn: 244005
* Update version to 3.8.0svnHans Wennborg2015-07-221-1/+1
| | | | llvm-svn: 242942
* Code cleanup: Remove duplicated line.Logan Chien2015-05-171-1/+0
| | | | llvm-svn: 237542
* libunwind: add new build logicSaleem Abdulrasool2015-04-251-0/+225
This replicates most of the build infrastructure from libc++abi ported to libunwind. This allows building libunwind without requiring libc++abi. llvm-svn: 235795
OpenPOWER on IntegriCloud