-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The API around attributes changed in LLVM 14. Rather than blindly upgrade the FactGenerator to continue to type-check, I realized that 1. Attribute handling was probably already incomplete - I'm sure LLVM 10-13 added new attributes that I hadn't yet updated the schema and FactGenerator to account for. 2. I wasn't really sure how attributes impacted the analysis. I decided to try to delete everything related to attributes instead. The idea is that if we don't use them, they're just slowing everything down and adding a maintenance burden, even while we *know* that the current support isn't comprehensive (and thus not useful to e.g., other clients of the FactGenerator). This appears to pass all of the tests, including the golden tests and `EXTRA_TESTS`. It's certainly possible that the analysis changes would impact the output on programs that do use the `byval` attribute and that we don't have enough coverage of these in the test suite. However, it seems comparably likely that some aspect of the LLVM language changed in a way that made this code not work the way it was intended to when it was originally written.
- Loading branch information
1 parent
ac05eaf
commit 422d1a6
Showing
18 changed files
with
24 additions
and
571 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.