Skip to content

Workaround a MSVC ASan false positive - #6140

Merged
randombit merged 1 commit into
masterfrom
jack/msvc-asan-fp
Nov 17, 2026
Merged

randombit merged 1 commit into
masterfrom
jack/msvc-asan-fp

Conversation

@randombit

Copy link
Copy Markdown
Owner

MSVC's STL has ASan annotations for std::optional, however both clang-cl and MSVC 19.52 on aarch64 will compile the std::optional implementation in a way that triggers an ASan error. Disable the annotations to fix the nightly MSVC sanitizer build.

microsoft/STL#6291

MSVC's STL has ASan annotations for std::optional, however both clang-cl and
MSVC 19.52 on aarch64 will compile the std::optional implementation in a way
that triggers an ASan error. Disable the annotations to fix the nightly MSVC
sanitizer build.

microsoft/STL#6291
@randombit
randombit merged commit 71c2475 into master Nov 17, 2026
51 checks passed
@randombit
randombit deleted the jack/msvc-asan-fp branch November 17, 2026 12:28
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.

1 participant