diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-07-27 18:20:17 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-07-27 18:20:17 +0000 |
commit | 52fddff39098109713d24bdd2f602b0ad4c37d68 (patch) | |
tree | 6a5afdd179046fb683d9c81dbcbd5ba36cd1414a /test/libcxxabi | |
parent | 5a8986b8f72db1a43cb186dc955bc94b8182160b (diff) |
[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
Diffstat (limited to 'test/libcxxabi')
-rw-r--r-- | test/libcxxabi/test/config.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ 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): |