aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>2015-09-26 18:26:01 +0000
committerVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>2015-09-26 18:26:01 +0000
commit8518eb54f3aa48130307563a2bf7f23493e63fca (patch)
treedce428a3d6de447c3d7371c4c116939c248de2ce /clang/lib/CodeGen/CodeGenModule.cpp
parent91717ee2333a22575058d9ed34bf2f9a8aa48ce5 (diff)
downloadllvm-8518eb54f3aa48130307563a2bf7f23493e63fca.zip
llvm-8518eb54f3aa48130307563a2bf7f23493e63fca.tar.gz
llvm-8518eb54f3aa48130307563a2bf7f23493e63fca.tar.bz2
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions