-
Notifications
You must be signed in to change notification settings - Fork 628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement aot_alloc_frame/aot_free_frame with LLVM IRs #2830
Implement aot_alloc_frame/aot_free_frame with LLVM IRs #2830
Conversation
Merge bytecodealliance:dev/gc_refactor into wenyongh:dev/refine_aot_alloc_frame
Disable ems memory allocator heap corruption check when GC is enabled (bytecodealliance#2838)
#endif | ||
|
||
#if WASM_ENABLE_MEMORY_PROFILING != 0 | ||
if (alloc_frame) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems alloc_frame
means start of the function, is it correct to measure stack use at the start of the function rather than end of the function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here it does the same thing in aot_alloc_frame, which calls wasm_exec_env_alloc_wasm_frame, and wasm_exec_env_alloc_wasm_frame sets exec_env->max_wasm_stack_used
if needed:
No description provided.