[all-commits] [llvm/llvm-project] 5a3d6c: [Clang][Driver] Add KCFI to SupportsCoverage

Sami Tolvanen via All-commits all-commits at lists.llvm.org
Tue Nov 22 10:20:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a3d6ce956c44384920557b455b4db2bb0ab2fad
      https://github.com/llvm/llvm-project/commit/5a3d6ce956c44384920557b455b4db2bb0ab2fad
  Author: Sami Tolvanen <samitolvanen at google.com>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M clang/lib/Driver/SanitizerArgs.cpp
    M clang/test/CodeGen/sanitize-coverage.c
    M clang/test/Driver/fsanitize-coverage.c

  Log Message:
  -----------
  [Clang][Driver] Add KCFI to SupportsCoverage

Allow `-fsanitize=kcfi` to be enabled with `-fsanitize-coverage=` modes
such as `trace-{pc,cmp}`.

Link: https://github.com/ClangBuiltLinux/linux/issues/1743

Reviewed By: MaskRay

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




More information about the All-commits mailing list