-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[ARM64] Change INS_bkpt to INS_brk for INS_BREAKPOINT #892
Conversation
False positive?
|
Since arm64 shouldn't ever use bkpt, can you also:
? |
Thanks for your review! I updated the patch as you suggested, please review it again. Cheers, |
How to ci-help? |
Unfortunately, it looks like the situation is a little more complicated that it should be. I reproduced the failure and your fix on Linux, and it looks good. I tried the existing code and your fix on Windows, and it doesn't work. With the existing code (using bkpt), setting COMPlus_JitHalt to some function and running a test, the Windows windbg debugger works as desired, and stops at that instruction. With your change, windbg shows an illegal instruction exception, and kills the process. So, I think we need to leave the existing code, but #ifdef your fix (for defining INS_BREAKPOINT especially) under TARGET_UNIX. |
Updated as you suggested. Please review it again. Cheers, |
Any suggestion? |
@xiangzhai It looks like you ran into a pre-existing problem with the formatting jobs (see #990 for some discussion). I would normally encourage you to look at https://github.com/dotnet/jitutils and run "jit-format" over your code. However, it looks like that hasn't been properly updated to work with the new dotnet/runtime repo. For now, you might need to just wait until this gets fixed before re-testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code change looks good to me. Thanks!
Thanks for your review and teaching! Cheers, |
Something is odd here.. I was wondering how this was working at all on Windows if this was really a the encoding for
The immediate effects what kind of signal the kernel raises on Linux, but for both I would suggest renaming |
It seems the issue for GDB is that whenever it traps the GDB is expecting the breakpoint to be set through |
@TamarChristinaArm Thanks for looking. I did see that windbg disassembled what the JIT calls |
Yeah, for GDB it seems that |
Thanks for your teaching!
Cheers, |
How to retrigger the CI checkers? #990 has been merged. Could you please help me to retrigger the test? Thanks, |
Looks like I managed to re-trigger it. cc @CarolEidt |
(If you click on "Details", there is a "Re-run" link on failing jobs) |
The "Re-run" link is not available to me. Perhaps I do not have the access permission? |
#990 fixed the issue or not?
Regression? Thanks, |
Merry Christmas :) |
/azp run |
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
/azp list |
I'm going to close and re-open to (hopefully) get re-testing. Note that the Windows ARM jobs are still broken (#702). |
Looks like there are actual formatting job issues:
|
Welcome back :)
Before is someone might want to right alignment? Could I change the Thanks, |
You could try that. Or, you could set yourself up to run Or, you can download the patch files created by the failing CI job and apply those. From the failing Linux formatting job, it gives these instructions:
Unfortunately, it looks like Azure DevOps changed their UI. But the bottom-line is: find the format.patch artifacts stored with the CI job (they will also have OS / architecture in their name), and apply them. |
No format issue any more. But I have no idea about other failures. False positive? Thanks, |
Most likely from what I see, arm and crossgen-comparison are known. x64 failed during "Download native test artifacts" which I have not seen before, but it is clearly infra. |
Hi @sandreenko Thanks for your kind response! The patch is accepted and ready to land? Cheers, |
Since it looks like infrastructure issues in the CI failures, I'll go ahead and merge it. @xiangzhai Thanks for your patience and various iterations! |
Hi, You are welcome :) Cheers, |
#606
Cheers,
Leslie Zhai