aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2024-02-07 10:46:34 -0800
committerGitHub <noreply@github.com>2024-02-07 10:46:34 -0800
commit9eed89908cc906850ef9c6a97ed7a5642ecd6599 (patch)
treef53da38c14abc11d5cd885a147c58d862ae58cec /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
parentbcc1635c7f8cf25c05ca9ef1f4995ad3e01ddda4 (diff)
downloadllvm-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