[all-commits] [llvm/llvm-project] 7810d8: [GWP-ASan] Respect GWP_ASAN_DEFAULT_ENABLED compil...

Roland McGrath via All-commits all-commits at lists.llvm.org
Wed Nov 18 10:35:06 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7810d837864933b49f5e20a970a8e51ea091fa8e
      https://github.com/llvm/llvm-project/commit/7810d837864933b49f5e20a970a8e51ea091fa8e
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

  Changed paths:
    M compiler-rt/lib/gwp_asan/options.inc

  Log Message:
  -----------
  [GWP-ASan] Respect GWP_ASAN_DEFAULT_ENABLED compile-time macro

If the containing allocator build uses -DGWP_ASAN_DEFAULT_ENABLED=false
then the option will default to false.  For e.g. Scudo, this is simpler
and more efficient than using -DSCUDO_DEFAULT_OPTIONS=... to set gwp-asan
options that have to be parsed from the string at startup.

Reviewed By: hctim

Differential Revision: https://reviews.llvm.org/D91463




More information about the All-commits mailing list