-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[asan][Darwin] Unprotected use of Apple blocks breaks build with GCC #72639
Labels
Comments
thesamesam
added
compiler-rt:asan
Address sanitizer
build-problem
platform:macos
and removed
new issue
labels
Nov 17, 2023
Could you submit that as a PR? Thanks. |
tob2
pushed a commit
to tob2/llvm-project
that referenced
this issue
Nov 17, 2023
…72639) The commit at 020cdaf broke build of asan on macOS with GCC. GCC does not support the Apple blocks extension (yet). Uses of blocks in other parts of the sanitisers are protected by MISSING_BLOCKS_SUPPORT. But the type definition is not.
nstester
pushed a commit
to nstester/gcc
that referenced
this issue
Nov 18, 2023
Upstream report of the issue at llvm/llvm-project#72639 libsanitizer/ChangeLog: * asan/asan_mac.cpp: Protect Apple blocks behind the MISSING_BLOCKS_SUPPORT macro.
MaskRay
pushed a commit
that referenced
this issue
Dec 7, 2023
… (#72642) Issue #72639 The commit at 020cdaf broke build of asan on macOS with GCC. GCC does not support the Apple blocks extension (yet). Uses of blocks in other parts of the sanitisers are protected by MISSING_BLOCKS_SUPPORT. But the type definition is not. _This applies FX's patch from the issue._ Co-authored-by: FX Coudert <fxcoudert@gmail.com>
Blackhex
pushed a commit
to Windows-on-ARM-Experiments/gcc-woarm64
that referenced
this issue
Dec 18, 2023
Upstream report of the issue at llvm/llvm-project#72639 libsanitizer/ChangeLog: * asan/asan_mac.cpp: Protect Apple blocks behind the MISSING_BLOCKS_SUPPORT macro.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The commit at 020cdaf broke build of asan on macOS with GCC. GCC does not support the Apple blocks extension (yet). Uses of blocks in other parts of the sanitisers are protected by
MISSING_BLOCKS_SUPPORT
. But the type definition is not.Could the same thing be done here? This works for me (tested in a build of asan inside GCC):
The text was updated successfully, but these errors were encountered: