[libcxxabi] Add -funwind-tables to the test compilation options.
Summary:
backtrace_test.pass.cpp depends on unwind tables. These are generated by
-funwind-tables which is the default for x86 but not for other targets.
Thanks to Nitesh Jain for helping to narrow this down.
Fixes PR24148
Reviewers: jroelofs
Subscribers: cfe-commits, jroelofs, llvm-commits, hans
Differential Revision: http://reviews.llvm.org/D11529
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@243296 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/libcxxabi/test/config.py b/test/libcxxabi/test/config.py
index 67ff824..6aaa400 100644
--- a/test/libcxxabi/test/config.py
+++ b/test/libcxxabi/test/config.py
@@ -27,6 +27,7 @@
def configure_compile_flags(self):
self.cxx.compile_flags += ['-DLIBCXXABI_NO_TIMER']
+ self.cxx.compile_flags += ['-funwind-tables']
super(Configuration, self).configure_compile_flags()
def configure_compile_flags_header_includes(self):