[PATCH] D12332: [Sanitizers] Make abort_on_error common flag.

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 05:15:23 PDT 2015


kubabrecka added a comment.

`%env_tool_opts='' not --crash %run %t` doesn't work because it expands to `env ASAN_OPTIONS=abort_on_error=0:'' not --crash ...`.  How about introducing something like:

  config.substitutions.append( ('%env_tool_opts_var_name', tool_options))

and then using it with `%env_tool_opts_var_name='' not --crash %run %t`?  With that, all the tests pass (on OS X).

Kuba


http://reviews.llvm.org/D12332





More information about the llvm-commits mailing list