mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
support for Frame's having call locations even if no associated CallExpr
This commit is contained in:
parent
143d306883
commit
6a0bee1108
2 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue