[all-commits] [llvm/llvm-project] 61999b: [clang][Darwin] Remove legacy framework search pat...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Sun Dec 31 02:16:03 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 61999b18c407b9f5c07577e63057d41c65240e61
https://github.com/llvm/llvm-project/commit/61999b18c407b9f5c07577e63057d41c65240e61
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-12-31 (Sun, 31 Dec 2023)
Changed paths:
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/lib/Lex/InitHeaderSearch.cpp
M clang/test/Driver/driverkit-path.c
R clang/test/Preprocessor/cuda-macos-includes.cu
Log Message:
-----------
[clang][Darwin] Remove legacy framework search path logic in the frontend (#75841)
This removes a long standing piece of technical debt. Most other
platforms have moved all their header search path logic to the driver,
but Darwin still had some logic for setting framework search paths
present in the frontend. This patch moves that logic to the driver
alongside existing logic that already handles part of these search
paths.
This is intended to be a pure refactor without any functional change
visible to users, since the search paths before and after should be the
same, and in the same order. The change in the tests is necessary
because we would previously add the DriverKit framework search path in
the frontend regardless of whether we actually need to, which we now
handle correctly because the driver checks for ld64-605.1+.
Fixes #75638
More information about the All-commits
mailing list