[clang] [clang][Darwin] Remove legacy framework search path logic in the frontend (PR #75841)
Julian Lettner via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 18 13:25:39 PST 2023
================
@@ -758,9 +758,14 @@ void darwin::Linker::ConstructJob(Compilation &C, const JobAction &JA,
}
}
- // Add non-standard, platform-specific search paths, e.g., for DriverKit:
- // -L<sysroot>/System/DriverKit/usr/lib
- // -F<sysroot>/System/DriverKit/System/Library/Framework
+ // Add framework include paths and library search paths.
+ // There are two flavors:
+ // 1. The "non-standard" paths, e.g. for DriverKit:
+ // -L<sysroot>/System/DriverKit/usr/lib
+ // -F<sysroot>/System/DriverKit/System/Library/Frameworks
+ // 2. The "standard" paths, e.g. for macOS and iOS:
+ // -F<sysroot>/System/Library/Frameworks
+ // -F<sysroot>/Library/Frameworks
{
bool NonStandardSearchPath = false;
----------------
yln wrote:
Do you mean that `ld64-605.1` is old enough / has "aged out" by now so we can drop this special case?
https://github.com/llvm/llvm-project/pull/75841
More information about the cfe-commits
mailing list