By default -fsanitize=address already compiles with this check, why not use it.
For compatibly it can be disabled with env ASAN_OPTIONS=detect_stack_use_after_return=0.
Details
Details
- Reviewers
eugenis kda hans - Group Reviewers
Restricted Project - Commits
- rG78582194361e: [asan] Enable detect_stack_use_after_return=1 by default on Linux
rG4b4437c084e2: [asan] Enable detect_stack_use_after_return=1 by default
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
@hans PTAL