[libc++abi][libunwind] Don't override libc++'s handling of exception features
authorLouis Dionne <ldionne@apple.com>
Tue, 9 Jun 2020 19:58:41 +0000 (15:58 -0400)
committerLouis Dionne <ldionne@apple.com>
Tue, 9 Jun 2020 20:03:22 +0000 (16:03 -0400)
0e04342ae039 simplified exceptions-related configurations for libc++abi
and libunwind by reusing the logic in libc++. However, it missed the fact
that libc++abi and libunwind were overriding libc++'s handling of exceptions.

This commit removes special handling in libc++abi and libunwind to use
the logic in libc++, which is the right one.

libcxxabi/test/libcxxabi/test/config.py
libunwind/test/libunwind/test/config.py

index f1eb453..37938d5 100644 (file)
@@ -86,8 +86,5 @@ class Configuration(LibcxxConfiguration):
                                       % libunwind_headers)
             self.cxx.compile_flags += ['-I' + libunwind_headers]
 
-    def configure_compile_flags_exceptions(self):
-        pass
-
     def configure_compile_flags_rtti(self):
         pass
index 7e4f230..31f6148 100644 (file)
@@ -59,9 +59,6 @@ class Configuration(LibcxxConfiguration):
                                   % libunwind_headers)
         self.cxx.compile_flags += ['-I' + libunwind_headers]
 
-    def configure_compile_flags_exceptions(self):
-        pass
-
     def configure_compile_flags_rtti(self):
         pass