[all-commits] [llvm/llvm-project] eca29d: [Clang] Avoid using unwind library in the MSVC env...
Petr Hosek via All-commits
all-commits at lists.llvm.org
Tue Aug 23 17:09:20 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eca29d4a37b8d1c93fe99be6289a60bb11cf789d
https://github.com/llvm/llvm-project/commit/eca29d4a37b8d1c93fe99be6289a60bb11cf789d
Author: Petr Hosek <phosek at google.com>
Date: 2022-08-24 (Wed, 24 Aug 2022)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/test/Driver/compiler-rt-unwind.c
Log Message:
-----------
[Clang] Avoid using unwind library in the MSVC environment
We're seeing the following warnings with --rtlib=compiler-rt:
lld-link: warning: ignoring unknown argument '--as-needed'
lld-link: warning: ignoring unknown argument '-lunwind'
lld-link: warning: ignoring unknown argument '--no-as-needed'
MSVC doesn't use the unwind library, so just omit it.
Differential Revision: https://reviews.llvm.org/D132440
More information about the All-commits
mailing list