[all-commits] [llvm/llvm-project] f92410: [lld] Add --lto-debug-pass-manager option
Ellis Hoag via All-commits
all-commits at lists.llvm.org
Wed May 31 14:14:37 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f92410429a2cbe4cec5a57a1fe7e43bc02b4d399
https://github.com/llvm/llvm-project/commit/f92410429a2cbe4cec5a57a1fe7e43bc02b4d399
Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
Date: 2023-05-31 (Wed, 31 May 2023)
Changed paths:
M lld/MachO/Config.h
M lld/MachO/Driver.cpp
M lld/MachO/LTO.cpp
M lld/MachO/Options.td
A lld/test/MachO/new-pass-manager.ll
Log Message:
-----------
[lld] Add --lto-debug-pass-manager option
Add support for printing the passes run for LTO.
Both ELF and COFF have `--lto-debug-pass-manager` (`-ltodebugpassmanager`) to print the compiler passes run during LTO. This is useful to check that a certain compiler pass is run in a test, e.g., https://reviews.llvm.org/D151589
Reviewed By: #lld-macho, MaskRay, int3
Differential Revision: https://reviews.llvm.org/D151746
More information about the All-commits
mailing list