[libc-commits] [PATCH] D118889: [libc] Disable rtti/expections
Guillaume Chatelet via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Feb 3 04:42:19 PST 2022
gchatelet added inline comments.
================
Comment at: libc/cmake/modules/LLVMLibCObjectRules.cmake:16
+ list(APPEND compile_options "/GR-")
+ elseif(CMAKE_CXX_COMPILER_ID MATCHES "XL")
+ list(APPEND compile_options "-qnoeh")
----------------
This is cloned from LLVM' [[ https://github.com/llvm/llvm-project/blob/36c36c1ee3b01b2d4a9e7ee12c9c23a98659e0fb/llvm/cmake/modules/AddLLVM.cmake#L7 | llvm_update_compile_flags ]] but I'm not sure we want to support IBM's compiler at this point.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118889/new/
https://reviews.llvm.org/D118889
More information about the libc-commits
mailing list