Skip to content

Add support for sanitizers in cmake script and in CI#49

Open
jbcoe wants to merge 2 commits intomainfrom
jbcoe/sanitizers
Open

Add support for sanitizers in cmake script and in CI#49
jbcoe wants to merge 2 commits intomainfrom
jbcoe/sanitizers

Conversation

@jbcoe
Copy link
Copy Markdown
Owner

@jbcoe jbcoe commented Mar 31, 2026

No description provided.

This comment was marked as outdated.

This comment was marked as outdated.

@jbcoe jbcoe force-pushed the jbcoe/sanitizers branch from 6dfaca4 to 8063112 Compare March 31, 2026 22:28
@jbcoe jbcoe requested a review from Copilot April 1, 2026 07:47
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +36 to +37
`./scripts/cmake.sh --asan` or `--tsan`). Note that ASAN, TSAN, and MSAN
are mutually exclusive.
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section states “ASAN, TSAN, and MSAN are mutually exclusive”, but the build entrypoint currently allows combining flags (e.g. --asan --tsan) and CMake doesn’t reject it. Either enforce mutual exclusivity in scripts/cmake.py/CMake configure (preferred), or adjust this guidance to match the actual supported combinations.

Suggested change
`./scripts/cmake.sh --asan` or `--tsan`). Note that ASAN, TSAN, and MSAN
are mutually exclusive.
`./scripts/cmake.sh --asan` or `--tsan`). While the build entrypoint
currently allows multiple sanitizer flags, only one of `--asan`, `--tsan`,
or `--msan` should be used per invocation; combinations are not a supported
configuration.

Copilot uses AI. Check for mistakes.
@jbcoe jbcoe marked this pull request as ready for review April 1, 2026 09:02
@jbcoe jbcoe requested a review from Twon April 1, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants