support for Frame's having call locations even if no associated CallExpr

This commit is contained in:
Vern Paxson 2021-05-30 17:43:17 -07:00
parent 143d306883
commit 6a0bee1108
2 changed files with 4 additions and 1 deletions

View file

@ -619,7 +619,7 @@ void Frame::CaptureClosure(Frame* c, IDPList arg_outer_ids)
const detail::Location* Frame::GetCallLocation() const
{
return call ? call->GetLocationInfo() : nullptr;
return call ? call->GetLocationInfo() : call_loc;
}
void Frame::SetTrigger(trigger::TriggerPtr arg_trigger)