unwind: disable RTTI during the build of libunwind
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 6 Nov 2019 18:51:42 +0000 (10:51 -0800)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 6 Nov 2019 18:51:42 +0000 (10:51 -0800)
commitcbc872a63f81ad9482bb288165af63d7444fa3ed
tree5cee79331ea43659e6d3176e1430ac830e793cf9
parenta8ccb48f697d3fbe85c593248ff1053fdf522a6e
unwind: disable RTTI during the build of libunwind

Disable the type information emission for libunwind.  libunwind does not
use `dynamic_cast`.  This results in a smaller binary, and more
importantly, avoids the dependency on libc++abi.  This ensures that we
have complete symbol resolution of symbols on ELF targets without
linking to the C++ runtime support library.  This change avoids the
emission of a reference to `__si_class_type_info`.
libunwind/src/CMakeLists.txt