Add -funwind-tables to CMAKE_C_FLAGS.
authorLogan Chien <tzuhsiang.chien@gmail.com>
Thu, 22 Jan 2015 13:39:08 +0000 (13:39 +0000)
committerLogan Chien <tzuhsiang.chien@gmail.com>
Thu, 22 Jan 2015 13:39:08 +0000 (13:39 +0000)
commitdbcd7a35f8e88c68f454107f4dbd45aa6b4377a2
treea32015fb8344e767874369d5ce25e9b23cd89414
parent6b2c97152475f32e87b38e09303cd88231aa8784
Add -funwind-tables to CMAKE_C_FLAGS.

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.

llvm-svn: 226823
libcxxabi/CMakeLists.txt
libcxxabi/cmake/config-ix.cmake