emscripten-core / emscripten-core/emscripten

Unify two different runtime source map parsing methods

Open
#16,731 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

We currently have two different ways to process source maps at runtime, both for the purpose of symbolicating stack traces:

1. `src/source_map_support.js`, enabled via internal LOAD_SOURCE_MAP setting. Used by santizers to give useful stack traces.
2. `src/emscripten-source-map.min.js` , used by `emscripten_get_callstack` and `emscripten_log_js` and `_Unwind_Backtrace` in library.js

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.