[PATCH] D11529: [libcxxabi] Add -funwind-tables to the test compilation options.

Daniel Sanders daniel.sanders at imgtec.com
Mon Jul 27 09:02:14 PDT 2015


dsanders created this revision.
dsanders added subscribers: hans, llvm-commits.

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.

http://reviews.llvm.org/D11529

Files:
  test/libcxxabi/test/config.py

Index: test/libcxxabi/test/config.py
===================================================================
--- test/libcxxabi/test/config.py
+++ 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):


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11529.30700.patch
Type: text/x-patch
Size: 468 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150727/9de92a91/attachment.bin>


More information about the llvm-commits mailing list