[all-commits] [llvm/llvm-project] 03b84e: [clang] Report sanitizer blacklist as a dependency...

jkorous-apple via All-commits all-commits at lists.llvm.org
Thu Nov 7 14:06:52 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 03b84e4f6d0e1c04f22d69cc445f36e1f713beb4
      https://github.com/llvm/llvm-project/commit/03b84e4f6d0e1c04f22d69cc445f36e1f713beb4
  Author: Jan Korous <jkorous at apple.com>
  Date:   2019-11-07 (Thu, 07 Nov 2019)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Driver/SanitizerArgs.h
    M clang/lib/Driver/SanitizerArgs.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/Driver/fsanitize-blacklist.c
    M clang/test/Frontend/dependency-gen.c

  Log Message:
  -----------
  [clang] Report sanitizer blacklist as a dependency in cc1

Previously these were reported from the driver which blocked clang-scan-deps from getting the full set of dependencies from cc1 commands.

Also the default sanitizer blacklist that is added in driver was never reported as a dependency. I introduced -fsanitize-system-blacklist cc1 option to keep track of which blacklists were user-specified and which were added by driver and clang -MD now also reports system blacklists as dependencies.

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




More information about the All-commits mailing list