[all-commits] [llvm/llvm-project] fa95e3: [lldb] Pass -fno-objc-exceptions for objcxx targets

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Sep 2 22:00:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fa95e35593353810c1b26e3641451fa82089d792
      https://github.com/llvm/llvm-project/commit/fa95e35593353810c1b26e3641451fa82089d792
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-09-02 (Wed, 02 Sep 2020)

  Changed paths:
    M lldb/source/Host/macosx/objcxx/CMakeLists.txt
    M lldb/source/Plugins/Platform/MacOSX/objcxx/CMakeLists.txt

  Log Message:
  -----------
  [lldb] Pass -fno-objc-exceptions for objcxx targets

When compiling an Objective-C++ file, __has_feature(cxx_exceptions) will
return true with -fno-exceptions but without -fno-objc-exceptions. This
was causing LLVM_ENABLE_EXCEPTIONS to be defined for a subset of files.




More information about the All-commits mailing list