Skip to content

[vm] Dart AOT runtime should refuse to run snapshots with incompatible sanitizers #55637

Closed
@dcharkes

Description

@dcharkes

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. 🙃 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.vm-technical-debtThis label tries to capture all the technical debt that we have accumulated in the Dart VM

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions