Skip to content

MSVC: Ignore unwinds and catches when inferring function sizes - #391

Merged
LagoLunatic merged 2 commits into
encounter:mainfrom
LagoLunatic:ignore-unwind
Aug 11, 2026
Merged

MSVC: Ignore unwinds and catches when inferring function sizes#391
LagoLunatic merged 2 commits into
encounter:mainfrom
LagoLunatic:ignore-unwind

Conversation

@LagoLunatic

Copy link
Copy Markdown
Collaborator

This makes functions with names like __unwind$1234 or __catch$1234 be ignored so that their contents will show up in the function preceding them instead of in their own separate function. Currently the function preceding them gets cut off.

Fixes#389

@tomsons26

Copy link
Copy Markdown
Contributor

Technicality for the changelog, this will also likely apply to MSVC targets on x86

@LagoLunaticLagoLunatic changed the title Xbox 360 PPC: Ignore unwinds and catches when inferring function sizesMSVC: Ignore unwinds and catches when inferring function sizesAug 9, 2026
@LagoLunatic
LagoLunatic merged commit 265f2bb into encounter:mainAug 11, 2026
23 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Xbox 360 - unwinds and catches are not being shown after their main functions

2 participants

@LagoLunatic@tomsons26