Cannot disable warning "ASan is ignoring requested __asan_handle_no_return"

Author: vysotskylevCreated Jun 28, 2018Updated Jun 11, 2026

I have found no option or flag to disable this warning. It is written to stderr and complicates testing (because I check the stderrs of execed programs in some tests).

PS. The full text looks like

==129647==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffd17a0a000; bottom 0x7f2a5fe3b000; size: 0x00d2b7bcf000 (905025744896) False positive error reports may follow For details see https://github.com/google/sanitizers/issues/189