MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / print_sources

Function print_sources

tools/empath-split.py:162–167  ·  view source on GitHub ↗
(sourcemap)

Source from the content-addressed store, hash-verified

160
161
162def print_sources(sourcemap):
163 contents = utils.read_file(sourcemap)
164 sources = json.loads(contents).get('sources')
165 assert isinstance(sources, list)
166 for src in sources:
167 print(src)
168
169
170def get_path_to_functions_map(wasm, sourcemap, paths):

Callers 1

mainFunction · 0.85

Calls 2

printFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected