On Wed, Apr 11, 2018 at 02:28:09PM -0400, Jason Merrill wrote: > On Wed, Apr 11, 2018 at 2:07 PM, Jakub Jelinek <ja...@redhat.com> wrote: > > On Wed, Apr 11, 2018 at 01:59:40PM -0400, Jason Merrill wrote: > >> And this one puts the check in asan_init rather than its users. OK? > > > > tsan tests have the same problem. > > Hmm, tsan tests work fine for me under ulimit -v.
Weird. > > Wouldn't it be better to have a helper procedure for this and use it next to > > if [check_effective_target_fsanitize_address] > > Ah, of course, that's where it belongs. Done below. > > > What exactly does return -code return? > > It forces the caller to return as well. > commit f980f806f93982ba54390d45ac5ccc8b350b160c > Author: Jason Merrill <ja...@redhat.com> > Date: Fri Mar 23 11:14:50 2018 -0400 > > * lib/asan-dg.exp: Don't run tests if ulimit -v is set. Ok. Jakub