[all-commits] [llvm/llvm-project] eaca1e: [libc++] Automatically detect whether RTTI is enabled

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Jul 14 13:52:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: eaca1e4e54905815b444e1234096c70adc9812f6
      https://github.com/llvm/llvm-project/commit/eaca1e4e54905815b444e1234096c70adc9812f6
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    M libcxx/CMakeLists.txt
    M libcxx/include/__config
    M libcxx/utils/libcxx/test/config.py
    M llvm/utils/gn/secondary/libcxx/src/BUILD.gn

  Log Message:
  -----------
  [libc++] Automatically detect whether RTTI is enabled

Instead of detecting it automatically but also allowing for the setting
to be specified explicitly, always detect whether exceptions are enabled
based on whether -fno-rtti (or equivalent) is used. It's less confusing
to have a single way of tweaking that knob.

This change follows the lead of 71d88cebfb42.




More information about the All-commits mailing list