堆栈帧类
更多...
#include <stacktrace.hpp>
堆栈帧类
表示堆栈中的一个函数调用帧,包含返回地址和符号信息。
在文件 stacktrace.hpp 第 37 行定义.
◆ frame()
| stacktrace::frame::frame |
( |
void * | addr | ) |
|
|
inlineexplicitnoexcept |
◆ address()
| void * stacktrace::frame::address |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ name()
| string stacktrace::frame::name |
( |
| ) |
const |
|
nodiscard |
获取函数符号名称
- 返回
- 解析后的函数名称
解析还原符号名称。
◆ operator!=()
| bool stacktrace::frame::operator!= |
( |
const frame & | other | ) |
const |
|
inlinenodiscardnoexcept |
◆ operator==()
| bool stacktrace::frame::operator== |
( |
const frame & | other | ) |
const |
|
inlinenodiscardnoexcept |
◆ to_string()
| string stacktrace::frame::to_string |
( |
| ) |
const |
|
nodiscard |
转换为字符串
- 返回
- 格式化的堆栈帧信息
格式:地址 [in 函数名]
该类的文档由以下文件生成: