[all-commits] [llvm/llvm-project] a33e98: [libc] Disable rtti/expections

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Tue Feb 8 02:46:46 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a33e98543a685174c06e462068c3425cd3f6e0f7
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2022-02-08 (Tue, 08 Feb 2022)

  Changed paths:
    M libc/cmake/modules/LLVMLibCObjectRules.cmake

  Log Message:
  [libc] Disable rtti/expections

llvm-libc exhibits a C interface but its source is C++.
This patch explicitly disables the use of exceptions and RTTI when compiling the entrypoints.

Differential Revision: https://reviews.llvm.org/D118889

More information about the All-commits mailing list