Skip to content

Commit c5fb05f

Browse files
pkastingnico
authored andcommitted
Reland: Make lld-link work in a non-MSVC shell, add /winsysroot:
This relands 73e585e (and 0574b5f), with a fix for the failing test (by using Optional<StringRef>s instead of making StringRef::empty() mean absence of value). Differential Revision: https://reviews.llvm.org/D118070
1 parent fe3407a commit c5fb05f

File tree

19 files changed

+1085
-748
lines changed

19 files changed

+1085
-748
lines changed

clang/docs/tools/clang-formatted-files.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ clang/lib/Driver/ToolChains/InterfaceStubs.h
285285
clang/lib/Driver/ToolChains/Minix.h
286286
clang/lib/Driver/ToolChains/MipsLinux.cpp
287287
clang/lib/Driver/ToolChains/MSP430.h
288-
clang/lib/Driver/ToolChains/MSVCSetupApi.h
289288
clang/lib/Driver/ToolChains/PPCFreeBSD.cpp
290289
clang/lib/Driver/ToolChains/PPCFreeBSD.h
291290
clang/lib/Driver/ToolChains/PPCLinux.h
@@ -5329,6 +5328,8 @@ llvm/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
53295328
llvm/include/llvm/Transforms/Utils/UnifyLoopExits.h
53305329
llvm/include/llvm/Transforms/Utils/ValueMapper.h
53315330
llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
5331+
llvm/include/llvm/WindowsDriver/MSVCPaths.h
5332+
llvm/include/llvm/WindowsDriver/MSVCSetupApi.h
53325333
llvm/include/llvm/WindowsManifest/WindowsManifestMerger.h
53335334
llvm/include/llvm/WindowsResource/ResourceScriptToken.h
53345335
llvm/include/llvm/XRay/BlockIndexer.h
@@ -6492,6 +6493,7 @@ llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
64926493
llvm/lib/Transforms/Vectorize/VPlanTransforms.h
64936494
llvm/lib/Transforms/Vectorize/VPlanValue.h
64946495
llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
6496+
llvm/lib/WindowsDriver/MSVCPaths.cpp
64956497
llvm/lib/WindowsManifest/WindowsManifestMerger.cpp
64966498
llvm/lib/XRay/BlockIndexer.cpp
64976499
llvm/lib/XRay/BlockVerifier.cpp

clang/lib/Driver/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set(LLVM_LINK_COMPONENTS
44
Option
55
ProfileData
66
Support
7+
WindowsDriver
78
)
89

910
if(WIN32)

0 commit comments

Comments
 (0)