Skip to content

Conversation

@radekdoulik
Copy link
Member

This fixes Thread::MakeStackwalkerCallback and thus also AssemblyNative_GetExecutingAssembly.

Fixes #120905

This fixes Thread::MakeStackwalkerCallback and AssemblyNative_GetExecutingAssembly

Fixes dotnet#120905
@radekdoulik radekdoulik added this to the Future milestone Oct 29, 2025
Copilot AI review requested due to automatic review settings October 29, 2025 21:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements the IsInCalleesFrames function for WebAssembly (WASM) platform. Previously, the function was unimplemented and would assert with an error message, always returning FALSE. The new implementation compares the given stack pointer with the display's stack pointer to determine if the given stack pointer is in callee frames.

Key Changes

  • Replaced assertion-based stub with actual implementation for WASM platform
  • Added stack pointer comparison logic consistent with other platforms (ARM, ARM64, AMD64, etc.)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@radekdoulik
Copy link
Member Author

/ba-g unrelated build timeouts

@radekdoulik radekdoulik merged commit 170acef into dotnet:main Oct 30, 2025
93 of 98 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[wasm][coreclr] Assembly.GetExecutingAssembly() returns null

3 participants