Commit 1402e4f
testing: disable ASan use-after-return detection in the test binary
The garbage collector finds roots by conservatively scanning the
machine stack. ASan's use-after-return fake stack relocates locals to
heap memory the scan never sees, so the GC completeness tests fail
under an ASan build even with a correct stack scrub. Bake
detect_stack_use_after_return=0 into the test binary via
__asan_default_options so ASan builds work out of the box; the rest of
ASan's checks are unaffected.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017NJ25FGK2EUWCLz2PaUwbT1 parent 2d2b6d1 commit 1402e4f
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
8 | 24 | | |
9 | 25 | | |
10 | 26 | | |
| |||
0 commit comments