aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDonĂ¡t Nagy <donat.nagy@ericsson.com>2025-07-24 16:18:37 +0200
committerGitHub <noreply@github.com>2025-07-24 16:18:37 +0200
commitdeede2b2db262a932f07a386e59c2ca0b1a798d1 (patch)
treede78580c6aa5512143e0fc448e0070aa6f748fa2 /flang/lib/Frontend/CompilerInvocation.cpp
parent0c4d56a6747b0f9677b47cba82053ac92ba67962 (diff)
downloadllvm-deede2b2db262a932f07a386e59c2ca0b1a798d1.zip
llvm-deede2b2db262a932f07a386e59c2ca0b1a798d1.tar.gz
llvm-deede2b2db262a932f07a386e59c2ca0b1a798d1.tar.bz2
[analyzer] Eliminate unique release point assertion (#150240)
MallocChecker.cpp has a complex heuristic that supresses reports where the memory release happens during the release of a reference-counted object (to suppress a significant amount of false positives). Previously this logic asserted that there is at most one release point corresponding to a symbol, but it turns out that there is a rare corner case where the symbol can be released, forgotten and then released again. This commit removes that assertion to avoid the crash. (As this issue just affects a bug suppression heuristic, I didn't want to dig deeper and modify the way the state of the symbol is changed.) Fixes #149754
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions