[all-commits] [llvm/llvm-project] e87c32: [Driver] Add -fno-sanitize-address-globals-dead-st...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Feb 23 11:51:48 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e87c32e390bb812d9390d3df39357409d073ac3f
      https://github.com/llvm/llvm-project/commit/e87c32e390bb812d9390d3df39357409d073ac3f
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-02-23 (Wed, 23 Feb 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/SanitizerArgs.cpp
    M clang/test/Driver/fsanitize.c

  Log Message:
  -----------
  [Driver] Add -fno-sanitize-address-globals-dead-stripping

It's customary for these options to have the -fno- form which is sometimes
handy to work around issues. Using the supported driver option is preferred over
the internal cl::opt option `-mllvm -asan-globals-live-support=0`

Reviewed By: kstoimenov, vitalybuka

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




More information about the All-commits mailing list