bpo-44363: Get test_capi passing with address sanitizer#26639
Merged
pablogsal merged 2 commits intopython:mainfrom Jun 10, 2021
Merged
bpo-44363: Get test_capi passing with address sanitizer#26639pablogsal merged 2 commits intopython:mainfrom
pablogsal merged 2 commits intopython:mainfrom
Conversation
erlend-aasland
approved these changes
Jun 10, 2021
Contributor
There was a problem hiding this comment.
Works with --with-address-sanitizer with Clang on my MacBook Pro
$ clang --version
Apple clang version 12.0.5 (clang-1205.0.22.9)
Target: x86_64-apple-darwin20.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
$ uname -a
Darwin mbpro.local 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64
$ ./python.exe -m test test_capi
0:00:00 load avg: 2.16 Run tests sequentially
0:00:00 load avg: 2.16 [1/1] test_capi
== Tests result: SUCCESS ==
1 test OK.
Total duration: 14.5 sec
Tests result: SUCCESS
Member
|
Thanks @markshannon, this looks great. Can you also open a PR here: To add again |
pablogsal
approved these changes
Jun 10, 2021
Contributor
|
Thanks @markshannon for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Contributor
|
Thanks @markshannon for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Jun 10, 2021
(cherry picked from commit 31aa0db) Co-authored-by: Mark Shannon <[email protected]>
|
GH-26641 is a backport of this pull request to the 3.9 branch. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Jun 10, 2021
(cherry picked from commit 31aa0db) Co-authored-by: Mark Shannon <[email protected]>
|
GH-26642 is a backport of this pull request to the 3.10 branch. |
miss-islington
added a commit
that referenced
this pull request
Jun 10, 2021
(cherry picked from commit 31aa0db) Co-authored-by: Mark Shannon <[email protected]>
miss-islington
added a commit
that referenced
this pull request
Jun 10, 2021
(cherry picked from commit 31aa0db) Co-authored-by: Mark Shannon <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I think this should work with clang, but I've only tested with gcc.
https://bugs.python.org/issue44363