[all-commits] [llvm/llvm-project] 55ba08: [Clang] Let the linker choose shared or static lib...
Petr Hosek via All-commits
all-commits at lists.llvm.org
Wed Jun 15 11:22:28 PDT 2022
Author: Petr Hosek <phosek at google.com>
Date: 2022-06-15 (Wed, 15 Jun 2022)
[Clang] Let the linker choose shared or static libunwind unless specified
We shouldn't assume that libunwind.so is available. Rather can defer
the decision to the linker which defaults to libunwind.so, but if .so
isn't available, it'd pick libunwind.a. Users can use -static-libgcc
and -shared-libgcc to override this behavior and explicitly choose
the version they want.
Differential Revision: https://reviews.llvm.org/D127528
More information about the All-commits