aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2023-05-24 20:16:41 +0100
committerFlorian Hahn <flo@fhahn.com>2023-05-24 20:16:42 +0100
commitf0687b47a0ce82da07127fee4fe6af801df54ca6 (patch)
tree11230a0830b374845d6405ec2f3d42fd3c431856 /clang/lib/Basic/SourceManager.cpp
parent0daa80e856152ed3250e2925195098f436531ce9 (diff)
downloadllvm-f0687b47a0ce82da07127fee4fe6af801df54ca6.zip
llvm-f0687b47a0ce82da07127fee4fe6af801df54ca6.tar.gz
llvm-f0687b47a0ce82da07127fee4fe6af801df54ca6.tar.bz2
[IRGen] Handle infinite cycles in findDominatingStoreToReturnValue.
If there is an infinite cycle in the IR, the loop will never exit. Keep track of visited basic blocks in a set and return nullptr if a block is visited again. Fixes #62830. Reviewed By: rjmccall Differential Revision: https://reviews.llvm.org/D151076
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions