Skip to content
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

Feature - Mac profiler support #588

Merged

Conversation

onehundredfeet
Copy link
Contributor

Added the necessary conditional logic to support the Hashlink profiler on Mac (Intel Only).

@ncannasse
Copy link
Member

I don't have a mac to test against. Is this complete and fully working or still wip ?

@onehundredfeet
Copy link
Contributor Author

It is complete. I am using it myself to profile.

@onehundredfeet
Copy link
Contributor Author

onehundredfeet commented Mar 2, 2023

It adds two fields to the thread struct in hl.h. This will mean that any Mac binaries or hdll's must be recompiled against the new hl.h to work, which isn't a problem for a full rebuild of hl like the automated builds do.

However, anyone that makes custom Mac hdll's must rebuild them.

@ncannasse ncannasse merged commit ede7c46 into HaxeFoundation:master Mar 2, 2023
@ncannasse
Copy link
Member

Thanks for the contribution !
While we're at it, is VSCode debugger working correctly on OSX as well ? ;)

@onehundredfeet
Copy link
Contributor Author

It works on Intel machines, doesn't seem to work on M1 machines.

When I have some free time, I'll poke at it and see if I can figure it out. I'd really like to be able to use it. Printf/trace debugging sucks.

@tobil4sk tobil4sk mentioned this pull request Mar 5, 2023
@PXshadow PXshadow mentioned this pull request Mar 14, 2023
54 tasks
crazyjul pushed a commit to playdigious/hashlink that referenced this pull request Jan 18, 2024
Sign up for free to 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.

2 participants