[all-commits] [llvm/llvm-project] a3b22d: [CFG] Fix a flaky crash in CFGBlock::getLastCondit...
NoQ via All-commits
all-commits at lists.llvm.org
Thu Nov 21 21:57:02 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a3b22da4e0ea84ed5890063926b6f54685c23225
https://github.com/llvm/llvm-project/commit/a3b22da4e0ea84ed5890063926b6f54685c23225
Author: Artem Dergachev <artem.dergachev at gmail.com>
Date: 2019-11-21 (Thu, 21 Nov 2019)
Changed paths:
M clang/lib/Analysis/CFG.cpp
M clang/test/Analysis/a_flaky_crash.cpp
Log Message:
-----------
[CFG] Fix a flaky crash in CFGBlock::getLastCondition().
Using an end iterator of an empty CFG block was causing
a garbage pointer dereference.
Differential Revision: https://reviews.llvm.org/D69962
More information about the All-commits
mailing list