[all-commits] [llvm/llvm-project] e0e827: [asan][Darwin] Use Apples blocks extension only wh...
Tobias Burnus via All-commits
all-commits at lists.llvm.org
Wed Dec 6 22:16:44 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e0e827c9378c785a1005d2756181b9e572369bce
https://github.com/llvm/llvm-project/commit/e0e827c9378c785a1005d2756181b9e572369bce
Author: Tobias Burnus <tobias at codesourcery.com>
Date: 2023-12-06 (Wed, 06 Dec 2023)
Changed paths:
M compiler-rt/lib/asan/asan_mac.cpp
Log Message:
-----------
[asan][Darwin] Use Apples blocks extension only when supported (#72639) (#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 at gmail.com>
More information about the All-commits
mailing list