You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bookrunner executes Kani with --function main instead of using harnesses. For that, we will need to enable the MIR linker to start from specific functions. #1674 will enable the reachability from public functions. We should either ensure that main function gets included here or we might want to add a new reachability algorithm that gets the name of the function to look for.
For simplicity, I'm leaning towards re-using the public function approach.
In #1785 the MIR linker is used by default, including the bookrunner run. I've also built #1785 locally and compared the results with the legacy linker. The only difference between those runs is one more failure (in CI), likely due to one test which often shows intermittent failures in CI (runs fine in my machine but times out or gets close to it in CI).
These are the results comparing a CI run with the legacy linker against the local run with the MIR linker:
Failures
Legacy linker
MIR linker
Check
2
2
Codegen
4
4
Verify
71
68
Total
77
74
The MIR linker doesn't affect Check/Codegen results, but slightly reduces the number of Verify failures. A large amount of verification failures are due to timeouts, which corresponds to the behavior we've seen in other tests suites (the now-available definitions cause the verification to run longer). Overall, I don't see any problem in enabling the MIR linker for bookrunner (which #1785 is already doing).
Activity
adpaco commentedon Oct 14, 2022
In #1785 the MIR linker is used by default, including the bookrunner run. I've also built #1785 locally and compared the results with the legacy linker. The only difference between those runs is one more failure (in CI), likely due to one test which often shows intermittent failures in CI (runs fine in my machine but times out or gets close to it in CI).
These are the results comparing a CI run with the legacy linker against the local run with the MIR linker:
The MIR linker doesn't affect Check/Codegen results, but slightly reduces the number of Verify failures. A large amount of verification failures are due to timeouts, which corresponds to the behavior we've seen in other tests suites (the now-available definitions cause the verification to run longer). Overall, I don't see any problem in enabling the MIR linker for bookrunner (which #1785 is already doing).