From 314614ad4f20edff4c872525ef5d94a72cc9f8b5 Mon Sep 17 00:00:00 2001 From: Frederic Riss Date: Sat, 25 Aug 2018 01:25:24 +0000 Subject: [PATCH] Disable exceptions for TestDataFormatterLibcxxOptional.py On macOS, some of the APIs used by the test are available only starting on macOS 10.14 when using exceptions. Build the test with -fno-exceptions so that the test builds on older systems too. rdar://problem/43700544 llvm-svn: 340676 --- .../data-formatter/data-formatter-stl/libcxx/optional/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/optional/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/optional/Makefile index a6ea665..19d6fc3 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/optional/Makefile +++ b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/optional/Makefile @@ -4,4 +4,4 @@ CXX_SOURCES := main.cpp USE_LIBCPP := 1 include $(LEVEL)/Makefile.rules -CXXFLAGS += -std=c++17 +CXXFLAGS += -std=c++17 -fno-exceptions -- 2.7.4