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

Let --yjit-dump-disasm=all dump ocb code as well #6309

Merged
merged 8 commits into from Sep 1, 2022

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Aug 31, 2022

I'm debugging a SEGV that seems to be caused inside an outlined cb. For that, I thought it'd be useful to have an option that dumps outlined cb code as well. It works as follows:

  • --yjit-dump-disasm: Dump only inlined cb
  • --yjit-dump-disasm=all: Dump both inlined and outlined cbs

cc: @jimmyhmiller

yjit/src/options.rs Outdated Show resolved Hide resolved
@jimmyhmiller
Copy link
Contributor

Tried this out locally and everything worked well for me. Great addition

@k0kubun k0kubun requested review from maximecb and jimmyhmiller and removed request for jimmyhmiller September 1, 2022 17:52
@k0kubun k0kubun merged commit 4144abe into ruby:master Sep 1, 2022
@k0kubun k0kubun deleted the ocb-dump branch September 1, 2022 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants