(wasm_file, symbols_file)
| 1127 | |
| 1128 | @ToolchainProfiler.profile() |
| 1129 | def write_symbol_map(wasm_file, symbols_file): |
| 1130 | logger.debug('handle_final_wasm_symbols') |
| 1131 | names = read_name_section(wasm_file) |
| 1132 | assert names |
| 1133 | strings = [f'{id}:{name}' for id, name in names.items()] |
| 1134 | contents = '\n'.join(strings) + '\n' |
| 1135 | utils.write_file(symbols_file, contents) |
| 1136 | |
| 1137 | |
| 1138 | def is_ar(filename): |
nothing calls this directly
no test coverage detected