[libcxxabi] r243296 - [libcxxabi] Add -funwind-tables to the test compilation options.
Daniel Sanders
daniel.sanders at imgtec.com
Mon Jul 27 11:20:17 PDT 2015
Author: dsanders
Date: Mon Jul 27 13:20:17 2015
New Revision: 243296
URL: http://llvm.org/viewvc/llvm-project?rev=243296&view=rev
Log:
[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
Modified:
libcxxabi/trunk/test/libcxxabi/test/config.py
Modified: libcxxabi/trunk/test/libcxxabi/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/libcxxabi/test/config.py?rev=243296&r1=243295&r2=243296&view=diff
==============================================================================
--- libcxxabi/trunk/test/libcxxabi/test/config.py (original)
+++ libcxxabi/trunk/test/libcxxabi/test/config.py Mon Jul 27 13:20:17 2015
@@ -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):
More information about the cfe-commits
mailing list