-
Notifications
You must be signed in to change notification settings - Fork 160
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
Feature - Mac profiler support #588
Conversation
I don't have a mac to test against. Is this complete and fully working or still wip ? |
It is complete. I am using it myself to profile. |
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. |
Thanks for the contribution ! |
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. |
Added the necessary conditional logic to support the Hashlink profiler on Mac (Intel Only).