summaryrefslogtreecommitdiffstats
path: root/libcxxabi/test
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-07-27 18:20:17 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-07-27 18:20:17 +0000
commit83934d3915f20347d9b8d916be40506beb752459 (patch)
treefb45e56ebee80177f7022a03223b52b2e5853ab2 /libcxxabi/test
parent93df06087195fc0fbeb70f9366bb6d8b64821dcd (diff)
downloadbcm5719-llvm-83934d3915f20347d9b8d916be40506beb752459.tar.gz
bcm5719-llvm-83934d3915f20347d9b8d916be40506beb752459.zip
[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 llvm-svn: 243296
Diffstat (limited to 'libcxxabi/test')
-rw-r--r--libcxxabi/test/libcxxabi/test/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxxabi/test/libcxxabi/test/config.py b/libcxxabi/test/libcxxabi/test/config.py
index 67ff8240bf2..6aaa40050cf 100644
--- a/libcxxabi/test/libcxxabi/test/config.py
+++ b/libcxxabi/test/libcxxabi/test/config.py
@@ -27,6 +27,7 @@ class Configuration(LibcxxConfiguration):
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):
OpenPOWER on IntegriCloud