[PATCH] D46385: Fix test failure for missing _LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS
Taiju Tsuiki via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 3 05:04:00 PDT 2018
tzik created this revision.
tzik added a reviewer: thakis.
Herald added subscribers: cfe-commits, christof.
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.
Repository:
rCXXA libc++abi
https://reviews.llvm.org/D46385
Files:
test/libcxxabi/test/config.py
Index: test/libcxxabi/test/config.py
===================================================================
--- test/libcxxabi/test/config.py
+++ test/libcxxabi/test/config.py
@@ -49,7 +49,10 @@
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:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46385.145004.patch
Type: text/x-patch
Size: 660 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180503/45869397/attachment.bin>
More information about the cfe-commits
mailing list