Open
Description
The current address obtained through Frame::ip
is meaningless in production environment without debuginfo. The lack of a base address prevents us from resolve symbol afterwards.
We have two solutions to this problem.
- Expose
backtrace::symbolize::native_libraries
, which will allow users to record all loaded libs, and users can get bais from them. but this may reveal too many details. - Add a
backtrace::resolve2
or makebacktrace::resolve
return the correct svma and library name even without debuginfo.