summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2018-08-25 01:25:24 +0000
committerFrederic Riss <friss@apple.com>2018-08-25 01:25:24 +0000
commit314614ad4f20edff4c872525ef5d94a72cc9f8b5 (patch)
tree95d2ec44b0bc33b02eda330caf8b54a61125f68d /lldb/packages/Python/lldbsuite/test
parent2ab82347a3ee450044f7967f9de5779b3e330ec1 (diff)
downloadbcm5719-llvm-314614ad4f20edff4c872525ef5d94a72cc9f8b5.tar.gz
bcm5719-llvm-314614ad4f20edff4c872525ef5d94a72cc9f8b5.zip
Disable exceptions for TestDataFormatterLibcxxOptional.py
On macOS, some of the <optional> 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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/optional/Makefile2
1 files changed, 1 insertions, 1 deletions
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 a6ea665ef63..19d6fc3e3c2 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
OpenPOWER on IntegriCloud