[libcxxabi] Add -funwind-tables to the test compilation options.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 27 Jul 2015 18:20:17 +0000 (18:20 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 27 Jul 2015 18:20:17 +0000 (18:20 +0000)
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

libcxxabi/test/libcxxabi/test/config.py

index 67ff824..6aaa400 100644 (file)
@@ -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):