[all-commits] [llvm/llvm-project] cbc872: unwind: disable RTTI during the build of libunwind

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Wed Nov 6 10:54:22 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cbc872a63f81ad9482bb288165af63d7444fa3ed
      https://github.com/llvm/llvm-project/commit/cbc872a63f81ad9482bb288165af63d7444fa3ed
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2019-11-06 (Wed, 06 Nov 2019)

  Changed paths:
    M libunwind/src/CMakeLists.txt

  Log Message:
  -----------
  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`.




More information about the All-commits mailing list