You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Detect per-library aarch64 frame layout from DWARF (#426)
* Detect per-library aarch64 frame layout from DWARF
Wire up default_clang_frame which was defined but never used.
DwarfParser now detects the linked frame size by observing the
first FP-based CFA entry with a non-zero offset during DWARF
parsing (both GCC and Clang emit cfa_off=LINKED_FRAME_CLANG_SIZE
in function bodies on aarch64). CodeCache stores the detected
default per library and uses it when DWARF doesn't cover a PC.
For unknown libraries (cc==NULL) on Apple/aarch64, fall back to
default_clang_frame since Apple ships Clang-only code.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
* Update ddprof-lib/src/main/cpp/dwarf.h
Co-authored-by: Paul Fournillon <112829622+kaahos@users.noreply.github.com>
* Set clang frame layout as default for macOS aarch64
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Paul Fournillon <112829622+kaahos@users.noreply.github.com>
0 commit comments