Open sbc100 opened 2 years ago
I'm not sure why (1) was added when the santizer work was done but now that it is done is seems like should favor that one. For a couple of reasons:
So I propose that we delete src/emscripten-source-map.min.js and use src/source_map_support.js everywhere.
Plan sounds good to me - I'm not sure either why we have two.
We currently have two different ways to process source maps at runtime, both for the purpose of symbolicating stack traces:
src/source_map_support.js
, enabled via internal LOAD_SOURCE_MAP setting. Used by santizers to give useful stack traces.src/emscripten-source-map.min.js
, used byemscripten_get_callstack
andemscripten_log_js
and_Unwind_Backtrace
in library.js