1. 21 Apr, 2025 4 commits
    • Caiyi H.'s avatar
      feat(StackTrace): implement Deref and len methods · 9519a995
      Caiyi H. authored
      - Add len method to return the number of captured stack frames
      - Implement Deref trait to allow accessing stack frames directly
      - Update stack_frames method to use Deref
      9519a995
    • Caiyi H.'s avatar
      refactor(unwinding): rename `begin_unwind` to `collect` for clarity · 909710b6
      Caiyi H. authored
      - Updated function name to better reflect its purpose and improve code readability
      909710b6
    • Caiyi H.'s avatar
      refactor(panic): replace StackTrace with StackTraceWalker to avoid unnecessary stack allocation · e3cf8316
      Caiyi H. authored
      - Remove IDisplayableStackTrace trait and its implementation for StackTrace
      - Use StackTraceWalker to handle stack frame enumeration and printing
      e3cf8316
    • Caiyi H.'s avatar
      refactor(unwinding): decouple platform-specific logic from StackTrace<N> · 0089337c
      Caiyi H. authored
      This refactor extracts the platform-specific unwinding logic from `StackTrace<N>::begin_unwind`
      into a new `StackTraceWalker` structure that accepts a callback to receive frames. This allows
      greater flexibility and reuse, and paves the way for future extensions like dynamic trace
      collection, filtering, or early termination.
      
      - Introduce `BacktraceCallbackDelegate` trait alias for frame callbacks
      - Create `StackTraceWalker::begin_unwind` for general-purpose unwinding
      - Refactor architecture-specific logic to invoke a callback instead of building traces
      - Preserve existing `StackTrace<N>` API and semantics with no functional changes
      
      No behavior change is introduced. API remains backward-compatible.
      0089337c
  2. 20 Apr, 2025 1 commit
  3. 18 Apr, 2025 3 commits
  4. 14 Apr, 2025 10 commits
  5. 13 Apr, 2025 1 commit
  6. 01 Apr, 2025 7 commits
  7. 31 Mar, 2025 2 commits
  8. 29 Mar, 2025 5 commits
  9. 27 Mar, 2025 7 commits