diff options
author | Teresa Johnson <tejohnson@google.com> | 2024-02-07 10:46:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-07 10:46:34 -0800 |
commit | 9eed89908cc906850ef9c6a97ed7a5642ecd6599 (patch) | |
tree | f53da38c14abc11d5cd885a147c58d862ae58cec /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp | |
parent | bcc1635c7f8cf25c05ca9ef1f4995ad3e01ddda4 (diff) | |
download | llvm-9eed89908cc906850ef9c6a97ed7a5642ecd6599.zip llvm-9eed89908cc906850ef9c6a97ed7a5642ecd6599.tar.gz llvm-9eed89908cc906850ef9c6a97ed7a5642ecd6599.tar.bz2 |
[MemProf] Handle empty stack context during ThinLTO cloning (#81008)
Fix for assert after PR#78264.
Handle the case where the MIB context is empty after skipping the
callsite context, because the callsite context is actually longer than
the MIB context. Presumably this happened as a result of inlining, but
in theory the metadata should have been replaced with an attribute in
that case. Need to investigate why this is occuring, but for now handle
this gracefully to fix the build regression.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions