Skip to content

[win][ASAN] Fix ASAN build on Windows#16586

Merged
bellenot merged 2 commits into
root-project:masterfrom
bellenot:fix-asan-build
Oct 3, 2024
Merged

[win][ASAN] Fix ASAN build on Windows#16586
bellenot merged 2 commits into
root-project:masterfrom
bellenot:fix-asan-build

Conversation

@bellenot
Copy link
Copy Markdown
Member

@bellenot bellenot commented Oct 3, 2024

On Windows, even __declspec(no_sanitize_address) does not prevent the heap-use-after-free errors when using the /fsanitize=address compiler flag, so don't even try.

Fixes #9445

On Windows, even `__declspec(no_sanitize_address)` does not prevent
the `heap-use-after-free` errors when using the `/fsanitize=address`
compiler flag, so don't even try.
Fixes root-project#9445
@bellenot bellenot self-assigned this Oct 3, 2024
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 3, 2024

Test Results

    13 files      13 suites   2d 18h 47m 51s ⏱️
 2 710 tests  2 710 ✅ 0 💤 0 ❌
33 082 runs  33 082 ✅ 0 💤 0 ❌

Results for commit 1372d9b.

♻️ This comment has been updated with latest results.

@bellenot bellenot merged commit 0229d5d into root-project:master Oct 3, 2024
@bellenot bellenot deleted the fix-asan-build branch October 3, 2024 14:44
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.

Hit errors when build ROOT with msvc on AddressSanitizer mode

3 participants