@@ -1097,7 +1097,7 @@ def get_subresource_location(path, data_uri=None):
1097
1097
return os .path .basename (path )
1098
1098
1099
1099
1100
- @ToolchainProfiler .profile_block ( 'package_files' )
1100
+ @ToolchainProfiler .profile ( )
1101
1101
def package_files (options , target ):
1102
1102
rtn = []
1103
1103
logger .debug ('setting up files' )
@@ -3113,7 +3113,7 @@ def phase_link(linker_arguments, wasm_target, js_syms):
3113
3113
building .link_lld (linker_arguments , wasm_target , external_symbols = js_syms )
3114
3114
3115
3115
3116
- @ToolchainProfiler .profile_block ('post_link ' )
3116
+ @ToolchainProfiler .profile_block ('post link ' )
3117
3117
def phase_post_link (options , state , in_wasm , wasm_target , target , js_syms ):
3118
3118
global final_js
3119
3119
@@ -3814,9 +3814,8 @@ def preprocess_wasm2js_script():
3814
3814
if options .emit_symbol_map :
3815
3815
intermediate_debug_info -= 1
3816
3816
if os .path .exists (wasm_target ):
3817
- with ToolchainProfiler .profile_block ('handle_final_symbols' ):
3818
- building .handle_final_wasm_symbols (wasm_file = wasm_target , symbols_file = symbols_file , debug_info = intermediate_debug_info )
3819
- save_intermediate_with_wasm ('symbolmap' , wasm_target )
3817
+ building .handle_final_wasm_symbols (wasm_file = wasm_target , symbols_file = symbols_file , debug_info = intermediate_debug_info )
3818
+ save_intermediate_with_wasm ('symbolmap' , wasm_target )
3820
3819
3821
3820
if settings .DEBUG_LEVEL >= 3 and settings .SEPARATE_DWARF and os .path .exists (wasm_target ):
3822
3821
building .emit_debug_on_side (wasm_target )
0 commit comments