[all-commits] [llvm/llvm-project] 0bc7cd: [flang] Add runtimes using --dependent-lib on MSVC...
David Truby via All-commits
all-commits at lists.llvm.org
Thu Nov 23 06:20:10 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0bc7cd4d51226344a54da5929d87184730e73e83
https://github.com/llvm/llvm-project/commit/0bc7cd4d51226344a54da5929d87184730e73e83
Author: David Truby <david.truby at arm.com>
Date: 2023-11-23 (Thu, 23 Nov 2023)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/CommonArgs.h
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/lib/Driver/ToolChains/DragonFly.cpp
M clang/lib/Driver/ToolChains/Flang.cpp
M clang/lib/Driver/ToolChains/FreeBSD.cpp
M clang/lib/Driver/ToolChains/Gnu.cpp
M clang/lib/Driver/ToolChains/Haiku.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/lib/Driver/ToolChains/MinGW.cpp
M clang/lib/Driver/ToolChains/NetBSD.cpp
M clang/lib/Driver/ToolChains/OpenBSD.cpp
M clang/lib/Driver/ToolChains/Solaris.cpp
M flang/test/Driver/linker-flags.f90
A flang/test/Driver/msvc-dependent-lib-flags.f90
Log Message:
-----------
[flang] Add runtimes using --dependent-lib on MSVC targets (#72519)
This patch uses the added --dependent-lib support to add the relevant
runtimes on MSVC targets as `/DEFAULTLIB:` sections in the object file
rather than on the link line. This should help CMake support for flang
on Windows.
Fixes #63741
Fixes #68017
More information about the All-commits
mailing list