[all-commits] [llvm/llvm-project] f8ba0d: [clang][deps] Remove dependency on llvm targets fr...
Ben Langmuir via All-commits
all-commits at lists.llvm.org
Wed Mar 5 08:26:01 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f8ba0df8781a9f2d0b54fcd6b06a47a06234a4c4
https://github.com/llvm/llvm-project/commit/f8ba0df8781a9f2d0b54fcd6b06a47a06234a4c4
Author: Ben Langmuir <blangmuir at apple.com>
Date: 2025-03-05 (Wed, 05 Mar 2025)
Changed paths:
M clang/lib/Tooling/DependencyScanning/CMakeLists.txt
M clang/lib/Tooling/DependencyScanning/DependencyScanningService.cpp
Log Message:
-----------
[clang][deps] Remove dependency on llvm targets from lib DependencyScanning (#129774)
In d64eccf we split the object file reader from the writer and removed
the dependency on clangCodeGen from the dependency scanner. However, we
were still initializing all the llvm targets, which was needed for
writing object file pcms but not reading them. This caused us to link
more llvm target code than necessary. Shrinks clangd by nearly 50% for
me.
rdar://144790713
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list