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.
Paths
| Differential D128841
[Driver] Always use --as-needed with libunwind ClosedPublic Authored by phosek on Jun 29 2022, 11:14 AM.
Details Summary With libgcc, we follow the behavior of GCC for backwards compatibility, With libunwind, there are no backward compatibility requirements so we
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 29 2022, 11:18 AM Closed by commit rG2482b3a9679e: [Driver] Always use --as-needed with libunwind (authored by phosek). · Explain WhyJun 29 2022, 1:41 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 441093 clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/test/Driver/compiler-rt-unwind.c
|