click-reduce tool #26
Labels
No labels
IncrementalParsing
Kind
Bug
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
OtherCompilersCompliance
Kind
StandardCompliance
Performance
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Scope/Lexer
Scope/Parser
Scope/PreProcessor
Scope/PublicApi
Scope/Sema
Status
Abandoned
Status
Blocked
Status
Need More Info
Testing
UserExperience
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
click-project/click#26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
a tool that minimizes C code as much as possible, to still trigger a condition, like a optimizer failure for example.
example:
you have a 200 thousand lines of code C project, and some compiler segfaults for some reason.
Now you are not the compiler dev, but still want the bug to be fixed; what should you do?? You can't give the compiler devs all your company's code, and compiler devs can't easily reproduce this....
the solution: automatically reduce the input code and check that it still triggers the same compile failure.
this is a very common thing in compilers, so there are many existing tools for doing that, like:
but we want a tool that operates on C code directly
existing alternatives for C:
creduce: depends on a specific older llvm version, which is ehhrhow this will work: