hanchenye-llvm-project/libunwind
Vasileios Kalintiris 8518eb54f3 unwind: Allow the building of libunwind for MIPS.
Summary:
Currently, libunwind doesn't support MIPS. However, with this patch
we do allow the library to build, and we warn the user about the lack of
support for MIPS. Also, the dummy unw_getcontext() implementation for MIPS just
traps on function entry in order to avoid any confusion with silent/weird
failures at runtime.

This allows us to test an LLVM-based toolchain without the dependency on a
GCC toolchain. Of course, C++ exception handling and other things that depend
on stack unwinding will not work until we add a proper implementation of the
stub functions.

Reviewers: compnerd, logan

Subscribers: dsanders, llvm-commits

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

llvm-svn: 248673
2015-09-26 18:26:01 +00:00
..
cmake libunwind: add new build logic 2015-04-25 01:46:35 +00:00
include [libunwind] Add support for OpenRISC 1000. 2015-08-31 05:26:37 +00:00
src unwind: Allow the building of libunwind for MIPS. 2015-09-26 18:26:01 +00:00
test Fix unw_getcontext() return value on AArch64. 2015-06-25 15:12:46 +00:00
.arcconfig Add ARC config 2015-05-09 20:56:15 +00:00
.clang-format unwind: add a .clang-format 2015-05-07 19:50:18 +00:00
CMakeLists.txt Revert test commit. 2015-08-06 23:31:37 +00:00