forked from OSchip/llvm-project
Fix test failure for missing _LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS
This is a follow-up change to r331150. The CL moved the macro from individual file to build file, but the macro is missed in a test config file. https://reviews.llvm.org/D46385 Patch from Taiju Tsuiki <tzik@chromium.org>! llvm-svn: 331450
This commit is contained in:
parent
c77ab8ef2f
commit
377d68fd2c
|
@ -49,7 +49,10 @@ class Configuration(LibcxxConfiguration):
|
|||
self.config.available_features.add('libcxxabi-has-system-unwinder')
|
||||
|
||||
def configure_compile_flags(self):
|
||||
self.cxx.compile_flags += ['-DLIBCXXABI_NO_TIMER']
|
||||
self.cxx.compile_flags += [
|
||||
'-DLIBCXXABI_NO_TIMER',
|
||||
'-D_LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS',
|
||||
]
|
||||
if self.get_lit_bool('enable_exceptions', True):
|
||||
self.cxx.compile_flags += ['-funwind-tables']
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue