summaryrefslogtreecommitdiff
path: root/cmake
AgeCommit message (Collapse)Author
2015-01-22Add -funwind-tables to CMAKE_C_FLAGS.Logan Chien
Without -funwind-tables, the compiler won't generate the unwinding table for these C functions. However, the functions in libunwind, such as `_Unwind_Backtrace()`, WILL unwind stack to get the backtrace. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@226823 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-18[libcxxabi] Add __cxa_thread_atexit for TLS support on Linux.Dan Albert
Summary: Fixes PR21738. The implementation for this is handled by __cxa_thread_atexit_impl, which is supplied by libc. More information: https://sourceware.org/glibc/wiki/Destructor%20support%20for%20thread_local%20variables Reviewers: mclow.lists, EricWF, jroelofs Reviewed By: jroelofs Subscribers: majnemer, cfe-commits Differential Revision: http://reviews.llvm.org/D6708 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@224477 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-18libcxxabi must link to dl if using bundled unwindJonathan Roelofs
Patch by Ismail Donmez http://reviews.llvm.org/D4953 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@215950 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-16libcxxabi cmake: Use HandleLLVMOptions.cmake, don't manually add -std=c++11.Nico Weber
No intended behavior change on Linux and Mac OS X. On Windows, having libcxxabi in one's checkout should now no longer break running cmake. (cl.exe supports c++11, but doesn't understand a -std= flag.) git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@213214 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-14Fix for libc++abi when using -Wl,--as-needed.Dan Albert
The cmake files for libc++abi and the unwinder weren't linking against libpthread or an unwind library. If the tests were linked with -Wl,--as-needed, these libraries wouldn't be linked, causing them to fail. Patch contributed by İsmail Dönmez. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@212958 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-10Make cmake cxxflags match those in lib/buildit.Dan Albert
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@212768 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-03Add a cmake build system.Dan Albert
Will add support for tests with lit in a later patch. This does not yet support building the unwinder in src/Unwind. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@212286 91177308-0d34-0410-b5e6-96231b3b80d8