Skip to content

Commit

Permalink
[libc++] NFC: Rename Lit feature for no RTTI to -fno-rtti
Browse files Browse the repository at this point in the history
  • Loading branch information
ldionne committed Apr 17, 2020
1 parent c5e7c26 commit a8e4b7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -8,7 +8,7 @@

// UNSUPPORTED: c++98, c++03, c++11, c++14

// XFAIL: libcpp-no-rtti
// XFAIL: -fno-rtti

// <any>

Expand Down
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: libcpp-no-rtti
// UNSUPPORTED: -fno-rtti

// "support/test_macros.hpp"

Expand Down
2 changes: 1 addition & 1 deletion libcxx/utils/libcxx/test/config.py
Expand Up @@ -658,7 +658,7 @@ def configure_compile_flags_exceptions(self):
def configure_compile_flags_rtti(self):
enable_rtti = self.get_lit_bool('enable_rtti', True)
if not enable_rtti:
self.config.available_features.add('libcpp-no-rtti')
self.config.available_features.add('-fno-rtti')
self.cxx.compile_flags += ['-fno-rtti', '-D_LIBCPP_NO_RTTI']

def configure_compile_flags_abi_version(self):
Expand Down

0 comments on commit a8e4b7a

Please sign in to comment.