deno
24bc84eb - fix(runtime): apply source maps to CPU profiler output (#32634)

Commit
127 days ago
fix(runtime): apply source maps to CPU profiler output (#32634) ## Summary - Apply source maps to CPU profile call frames before writing, so `--cpu-prof` reports original TypeScript line/column numbers instead of transpiled JavaScript positions - Reuses the existing `SourceMapper` infrastructure from `deno_core` (same one used for error stack traces) - Exports `SourceMapper` and `SourceMapApplication` from `deno_core` and adds a `JsRuntime::source_mapper()` accessor Closes #32626 --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Author
Parents
Loading