Skip to content

Allow sanitizer recovery #18

Open
Open
@jayvdb

Description

@jayvdb

It is often useful to allow sanitizer recovery in order to see all errors instead of only the first.
This can be done with varying success using -DCMAKE_{}_FLAGS=-fsanitize-recover=all

Using input cmakeflags to add -DCMAKE_{}_FLAGS=-fsanitize-recover=all does not appear to work with these presets, as sanitizer presets already append -DCMAKE_{}_FLAGS.

The recipe should detect input cmakeflags setting -DCMAKE_{}_FLAGS and append its additions into the existing one rather than add another one.

But even with that fixed, IMO it would be good for the recipe here to allow adding -fsanitize-recover=all easily, or at least document how to do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions