[all-commits] [llvm/llvm-project] b3f01a: [Clang] Check PP presence when printing stats (#13...
Qiu Chaofan via All-commits
all-commits at lists.llvm.org
Fri Mar 28 10:54:45 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b3f01a6aa45b00240cec1c64286b85d7ba87e2af
https://github.com/llvm/llvm-project/commit/b3f01a6aa45b00240cec1c64286b85d7ba87e2af
Author: Qiu Chaofan <qcf at ecnelises.com>
Date: 2025-03-29 (Sat, 29 Mar 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Frontend/FrontendAction.cpp
A clang/test/Frontend/print-stats.c
Log Message:
-----------
[Clang] Check PP presence when printing stats (#131608)
Front-end option `-print-stats` can be used to print statistics around
the compilation process. But clang with this options will crash when
input is IR file. This patch fixes the crash by checking preprocessor
presence before invoking it.
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