aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ReachingDefAnalysis.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <Krzysztof.Parzyszek@amd.com>2024-03-08 07:21:21 -0600
committerGitHub <noreply@github.com>2024-03-08 07:21:21 -0600
commitaa26faf05ecd7ee77487772fe0406f2de1df0dac (patch)
tree0e7749e1b5e3b1568a45c16afef5873dc019ff96 /llvm/lib/CodeGen/ReachingDefAnalysis.cpp
parent65524fcb5d4e5f4f5450c38d3e075cce192586bb (diff)
downloadllvm-aa26faf05ecd7ee77487772fe0406f2de1df0dac.zip
llvm-aa26faf05ecd7ee77487772fe0406f2de1df0dac.tar.gz
llvm-aa26faf05ecd7ee77487772fe0406f2de1df0dac.tar.bz2
[flang][unittests] Fix buffer overrun in FrontendActionTest (#84381)
When` SmallVector<char>` is used as a backing storage, it can't be assumed to end with a \x0. When creating a `StringRef` from it, pass the length explicitly. This was detected by address sanitizer.
Diffstat (limited to 'llvm/lib/CodeGen/ReachingDefAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions