better error reporting when ZAM code calls a function

This commit is contained in:
Vern Paxson 2023-02-09 11:24:35 -08:00
parent 1b6df1a04c
commit 2c9857a618
33 changed files with 38 additions and 52 deletions

View file

@ -206,7 +206,9 @@ std::pair<bool, FramePtr> Frame::Unserialize(const broker::vector& data,
const detail::Location* Frame::GetCallLocation() const
{
return call ? call->GetLocationInfo() : call_loc;
// This is currently trivial, but we keep it as an explicit
// method because it can provide flexibility for compiled code.
return call->GetLocationInfo();
}
void Frame::SetTrigger(trigger::TriggerPtr arg_trigger)