[Driver] Always use --as-needed with libunwind
With libgcc, we follow the behavior of GCC for backwards compatibility, only using --as-needed in the non-C++ mode. With libunwind, there are no backward compatibility requirements so we can always use --as-needed on all supported platforms. Differential Revision: https://reviews.llvm.org/D128841
Loading
Please sign in to comment