Unify `dwarf` and `vm` stack walking modes

Author: apanginCreated Feb 6, 2026Updated Feb 6, 2026
Labelscleanup

Describe the feature

Merge StackWalker::walkDwarf with StackWalker::walkVM. Make cstack=dwarf an alias of cstack=vm.

Use Case

Simplify stack walking code. Reduce the amount of duplication. Leverage crash protection in StackWalker::walkVM for native applications.

Proposed Solution

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Source: async-profiler/async-profiler