[libcxxabi] r331450 - Fix test failure for missing _LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Thu May 3 05:44:27 PDT 2018
Author: nico
Date: Thu May 3 05:44:27 2018
New Revision: 331450
URL: http://llvm.org/viewvc/llvm-project?rev=331450&view=rev
Log:
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 at chromium.org>!
Modified:
libcxxabi/trunk/test/libcxxabi/test/config.py
Modified: libcxxabi/trunk/test/libcxxabi/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/libcxxabi/test/config.py?rev=331450&r1=331449&r2=331450&view=diff
==============================================================================
--- libcxxabi/trunk/test/libcxxabi/test/config.py (original)
+++ libcxxabi/trunk/test/libcxxabi/test/config.py Thu May 3 05:44:27 2018
@@ -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:
More information about the cfe-commits
mailing list