diff --git a/README.md b/README.md index d21b174..1155bbe 100644 --- a/README.md +++ b/README.md @@ -159,7 +159,8 @@ namespace cpptrace { using frame_ptr = std::uintptr_t; struct stacktrace_frame { - frame_ptr address; + frame_ptr raw_address; // address in memory + frame_ptr object_address; // address in the object file // nullable represents a nullable integer. More docs later. nullable line; nullable column; diff --git a/docs/c-api.md b/docs/c-api.md index b079f62..851bf6d 100644 --- a/docs/c-api.md +++ b/docs/c-api.md @@ -34,7 +34,8 @@ the parameters. typedef struct ctrace_stacktrace ctrace_stacktrace; struct ctrace_stacktrace_frame { - ctrace_frame_ptr address; + ctrace_frame_ptr raw_address; + ctrace_frame_ptr object_address; uint32_t line; uint32_t column; const char* filename;