Unverified Commit 9eed8990 authored by Teresa Johnson's avatar Teresa Johnson Committed by GitHub
Browse files

[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.
parent bcc1635c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment