[libcxx-commits] [PATCH] D90202: [libunwind] Fix linker flag handling in the tests.

Alexander Richardson via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 24 08:05:07 PDT 2021


arichardson added inline comments.


================
Comment at: libunwind/test/libunwind/test/config.py:47
+        # Make symbols available in the tests.
+        if 'linux' in self.config.target_triple:
+            self.cxx.link_flags += ['-Wl,--export-dynamic']
----------------
This also works on most other operating systems that use ld.lld/ld.bfd (e.g. FreeBSD). Maybe it should be `'darwin' not in  self.config.target_triple`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90202/new/

https://reviews.llvm.org/D90202



More information about the libcxx-commits mailing list