[all-commits] [llvm/llvm-project] b08823: [clang-tidy] bugprone-signal-handler improvements:...
Balázs Kéri via All-commits
all-commits at lists.llvm.org
Mon Jan 31 01:36:37 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b088237f08c4c48be64890a9418ae88532075888
https://github.com/llvm/llvm-project/commit/b088237f08c4c48be64890a9418ae88532075888
Author: Balázs Kéri <1.int32 at gmail.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h
M clang-tools-extra/test/clang-tidy/checkers/bugprone-signal-handler.c
Log Message:
-----------
[clang-tidy] bugprone-signal-handler improvements: display call chain
Display notes for a possible call chain if an unsafe function is found to be
called (maybe indirectly) from a signal handler.
The call chain displayed this way includes probably not the first calls of
the functions, but it is a valid possible (in non path-sensitive way) one.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D118224
More information about the All-commits
mailing list