-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Minimal unwinding information (DWARF CFI) checker #145633
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
Conversation
…mple CFI analysis
…/Write conditions
- Changing the register and not informing it using cfi directives - Changing the CFA and report it wrong - Load a register from another register stored location
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/23071 Here is the relevant piece of the build log for the reference |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/65/builds/19256 Here is the relevant piece of the build log for the reference |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/154/builds/18461 Here is the relevant piece of the build log for the reference |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/193/builds/8938 Here is the relevant piece of the build log for the reference |
|
It looks like we need a |
I submitted a PR that fixes it, if it doesn't get fixed I'll add |
@dyung I changed the PR and added |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/38/builds/4318 Here is the relevant piece of the build log for the reference |
Thanks! It looks like this fixed the issue. From your change, I didn't see anything that was Mac-specific, so it shouldn't have really required a Mac to test (and from it passing it proves it did not). |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/13/builds/8258 Here is the relevant piece of the build log for the reference |
This PR adds a minimal version of
UnwindInfoCheckerdescribed in here.This implementation looks into the modified registers by each instruction and checks:
This implementation does not support DWARF expressions and treats them as unknown unwinding rules.