[libcxx-commits] [PATCH] D103140: [libcxx] Fix exception raised during downstream bare-metal libunwind tests
Amilendra Kodithuwakku via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jun 16 05:35:57 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5636402bc0c9: [libcxx] Fix exception raised during downstream bare-metal libunwind tests (authored by amilendra).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103140/new/
https://reviews.llvm.org/D103140
Files:
libunwind/test/libunwind/test/config.py
Index: libunwind/test/libunwind/test/config.py
===================================================================
--- libunwind/test/libunwind/test/config.py
+++ libunwind/test/libunwind/test/config.py
@@ -44,7 +44,8 @@
# generated by default on all Targets.
self.cxx.compile_flags += ['-funwind-tables']
# Make symbols available in the tests.
- if 'linux' in self.config.target_triple:
+ triple = self.get_lit_conf('target_triple', None)
+ if 'linux' in triple:
self.cxx.link_flags += ['-Wl,--export-dynamic']
if not self.get_lit_bool('enable_threads', True):
self.cxx.compile_flags += ['-D_LIBUNWIND_HAS_NO_THREADS']
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103140.352406.patch
Type: text/x-patch
Size: 703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210616/b0dbd13b/attachment.bin>
More information about the libcxx-commits
mailing list