[all-commits] [llvm/llvm-project] 2482b3: [Driver] Always use --as-needed with libunwind
Petr Hosek via All-commits
all-commits at lists.llvm.org
Wed Jun 29 13:41:38 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2482b3a9679ed2d92abbdbae6927e022903acc70
https://github.com/llvm/llvm-project/commit/2482b3a9679ed2d92abbdbae6927e022903acc70
Author: Petr Hosek <phosek at google.com>
Date: 2022-06-29 (Wed, 29 Jun 2022)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/test/Driver/compiler-rt-unwind.c
Log Message:
-----------
[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
More information about the All-commits
mailing list