aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2025-01-14 12:56:33 -0800
committerGitHub <noreply@github.com>2025-01-14 12:56:33 -0800
commitebec4d6369cbf9bbd64236b02d90e8f3597ad103 (patch)
tree24c92fc63636655302a9073868b02bc838d62b59 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentb720b6cbe95eda383121a4579de556202b1ffc02 (diff)
downloadllvm-ebec4d6369cbf9bbd64236b02d90e8f3597ad103.zip
llvm-ebec4d6369cbf9bbd64236b02d90e8f3597ad103.tar.gz
llvm-ebec4d6369cbf9bbd64236b02d90e8f3597ad103.tar.bz2
[flang] Fix use-after-free cases found by valgrind (#122394)
The expression traversal library needs to use interfaces into triplets (and substrings) that return pointers to nested expressions, rather than optional copies of them, since at least one semantic analysis collects a set of references to some subexpression representation class instances, and those references obviously can't point to local copies of objects. Fixes https://github.com/llvm/llvm-project/issues/121999.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions