Commit 68e239ab authored by Daniel Sanders's avatar Daniel Sanders
Browse files

Merging r243296:

------------------------------------------------------------------------
r243296 | dsanders | 2015-07-27 19:20:17 +0100 (Mon, 27 Jul 2015) | 16 lines

[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: 243649
parent 7cb5d069
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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):