Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tb_backtrace_symbols_name不同平台的返回值格式应该一致 #247

Open
jingkaimori opened this issue Oct 25, 2023 · 1 comment
Open

Comments

@jingkaimori
Copy link

你在什么场景下需要该功能?

目前tb_backtrace_symbols_name在不同平台下的返回值格式不一致:

  • Windows: 函数名
  • Linux: 文件路径(函数地址) [栈帧地址]
  • MacOS: 栈帧序号 文件名 栈帧地址 符号名 + 偏移量

描述可能的解决方案

参考 https://github.com/MisterTea/UniversalStacktrace/blob/master/ust/ust.hpp#L276

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: tb_backtrace_symbols_nameThe return value format of different platforms should be consistent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants