[vm] Dart AOT runtime should refuse to run snapshots with incompatible sanitizers #55637
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
P3
A lower priority bug or feature request
vm-technical-debt
This label tries to capture all the technical debt that we have accumulated in the Dart VM
We should make the Dart precompiled runtime refuse to run AOT snapshots that are not built with the same sanitizers.
Our machine code generation emits different machine code if sanitizers are enabled. If the build is somehow misconfigured, it could happen that an AOT snapshot without the extra runtime-calls for unpoisoning, leading to sanitizers complaining.
(Such check would have saved me half a day of debugging. 🙃 )
The text was updated successfully, but these errors were encountered: