Skip to content

macOS crash handler: Move symbolize with atos to its own function#119305

Open
aaronfranke wants to merge 1 commit into
godotengine:masterfrom
aaronfranke:macos-symbolize-atos
Open

macOS crash handler: Move symbolize with atos to its own function#119305
aaronfranke wants to merge 1 commit into
godotengine:masterfrom
aaronfranke:macos-symbolize-atos

Conversation

@aaronfranke
Copy link
Copy Markdown
Member

Similar to PR #118642, this PR pulls another chunk out of PR #64205 in an attempt to make it easier to review.

This PR extracts the symbolize with atos logic to its own function, and moves it to a new stack_trace_macos.h file, which contains a new StackTraceMacOS namespace. The find executable load address function was also moved here.

Also, as a bonus, I renamed _execpath to exec_path to match the naming convention for local variables, and did the same thing in the LinuxBSD and Windows code.

@aaronfranke aaronfranke added this to the 4.7 milestone May 7, 2026
@aaronfranke aaronfranke requested review from a team as code owners May 7, 2026 09:26
Comment thread platform/macos/stack_trace_macos.h Outdated
Comment thread platform/macos/crash_handler_macos.mm Outdated
Comment thread platform/macos/stack_trace_macos.h Outdated
@aaronfranke aaronfranke force-pushed the macos-symbolize-atos branch from 428d255 to 9d991d9 Compare May 8, 2026 14:22
@Repiteo Repiteo modified the milestones: 4.7, 4.8 May 8, 2026
jak6jak added a commit to jak6jak-experiment/godot that referenced this pull request May 19, 2026
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.

3 participants