aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorPaul Kirth <paulkirth@google.com>2025-06-04 09:46:14 -0700
committerGitHub <noreply@github.com>2025-06-04 09:46:14 -0700
commit8e77263ad0031192b895564e470b9d8b16e4414e (patch)
tree52990ecac02808aabc076fa094c7613c8912e111 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentfd452da64d548a9aea97a0b5be10962a0e58d925 (diff)
downloadllvm-8e77263ad0031192b895564e470b9d8b16e4414e.zip
llvm-8e77263ad0031192b895564e470b9d8b16e4414e.tar.gz
llvm-8e77263ad0031192b895564e470b9d8b16e4414e.tar.bz2
[llvm][mustache] Fix UB in ASTNode::render() (#142249)
The current implementation set a reference to a nullptr, leading to all kinds of problems. Instead, we can check the various uses to ensure we don't deref invalid memory, and improve the logic for how contexts are passed to children, since that was also subtly wrong in some cases.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions