diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-02-18 23:13:33 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-02-19 11:05:42 +0100 |
commit | 1d9f4903c6151f1b3f90a743eac339dde8ef5d29 (patch) | |
tree | 7b458cbd5ebf8e9acbc9b6be33ee1b91c98c5f0d /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | d12fa33d736d60d419f86b4ec5f3e77e602d4b1e (diff) | |
download | llvm-1d9f4903c6151f1b3f90a743eac339dde8ef5d29.zip llvm-1d9f4903c6151f1b3f90a743eac339dde8ef5d29.tar.gz llvm-1d9f4903c6151f1b3f90a743eac339dde8ef5d29.tar.bz2 |
[BasicAA] Add simple depth limit to avoid stack overflow (PR49151)
This is a simpler variant of D96647. It just adds a straightforward
depth limit with a high cutoff, without introducing complex logic
for BatchAA consistency. It accepts that we may cache a sub-optimal
result if the depth limit is hit.
Eventually this should be more fully addressed by D96647 or similar,
but in the meantime this avoids stack overflows in a cheap way.
Differential Revision: https://reviews.llvm.org/D96996
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions