aboutsummaryrefslogtreecommitdiff
path: root/libunwind/test/lit.cfg
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2019-07-09 19:22:59 +0000
committerDimitry Andric <dimitry@andric.com>2019-07-09 19:22:59 +0000
commit19a71f6bdf2dddb10764939e7f0ec2b98dba76c9 (patch)
tree9b2fc4dec79b775ebe24f1d86a087dfad5433ecb /libunwind/test/lit.cfg
parent635f8ffdbd7b93d34a866f2acee916f76b35fb6a (diff)
downloadllvm-llvmorg-8.0.1.zip
llvm-llvmorg-8.0.1.tar.gz
llvm-llvmorg-8.0.1.tar.bz2
Merging r360861, with an additional change to also add the PPC64_OPD1llvmorg-8.0.1-rc4llvmorg-8.0.1
and PPC64_OPD2 lines to the DEFINE_LIBUNWIND_PRIVATE_FUNCTION() macro, which was removed in r357640: ------------------------------------------------------------------------ r360861 | mstorsjo | 2019-05-15 23:49:13 -0700 (Wed, 15 May 2019) | 13 lines [PPC64][libunwind] Fix r2 not properly restored This change makes each unwind step inspect the instruction at the return address and, if needed, read r2 from its saved location and modify the context appropriately. The unwind logic is able to handle both ELFv1 and ELFv2 stacks. Reported by Bug 41050 Patch by Leandro Lupori! Differential Revision: https://reviews.llvm.org/D59694 ------------------------------------------------------------------------ llvm-svn: 365542
Diffstat (limited to 'libunwind/test/lit.cfg')
-rw-r--r--libunwind/test/lit.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/libunwind/test/lit.cfg b/libunwind/test/lit.cfg
index 272bc16..1d284bd 100644
--- a/libunwind/test/lit.cfg
+++ b/libunwind/test/lit.cfg
@@ -23,6 +23,9 @@ config.suffixes = ['.cpp', '.s']
# test_source_root: The root path where tests are located.
config.test_source_root = os.path.dirname(__file__)
+# needed to test libunwind with code that throws exceptions
+config.enable_exceptions = True
+
# Infer the libcxx_test_source_root for configuration import.
# If libcxx_source_root isn't specified in the config, assume that the libcxx
# and libunwind source directories are sibling directories.