With #1943, Symbolicator gained support for source server information in symcaches. This source server information is supposed to be used conditionally to rewrite a native frame's abs_path/filename and set the revision field.
Whether this information should be used is controlled from the Sentry side by sending a flag apply_srcsrv with the symbolication request to Symbolicator, see getsentry/sentry#114839.
To implement this:
- Add an optional
revision field to native frames.
- Pass the
apply_srcsrv flag through from the request to the symbolicate_native_frame function.
- Set the
abs_path/filename from source server information in the symcache or as it currently works, depending on the value of the flag.
- Set the
revision from source server information depending on the value of the flag.
With #1943, Symbolicator gained support for source server information in symcaches. This source server information is supposed to be used conditionally to rewrite a native frame's
abs_path/filenameand set therevisionfield.Whether this information should be used is controlled from the Sentry side by sending a flag
apply_srcsrvwith the symbolication request to Symbolicator, see getsentry/sentry#114839.To implement this:
revisionfield to native frames.apply_srcsrvflag through from the request to thesymbolicate_native_framefunction.abs_path/filenamefrom source server information in the symcache or as it currently works, depending on the value of the flag.revisionfrom source server information depending on the value of the flag.