[all-commits] [llvm/llvm-project] 5a64a8: [Driver] Allow -fsanitize=kcfi with -fsanitize-min...

Sami Tolvanen via All-commits all-commits at lists.llvm.org
Mon Jun 5 13:41:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a64a826b9f0efab4ba7a8cdab4857794bbf07f3
      https://github.com/llvm/llvm-project/commit/5a64a826b9f0efab4ba7a8cdab4857794bbf07f3
  Author: Sami Tolvanen <samitolvanen at google.com>
  Date:   2023-06-05 (Mon, 05 Jun 2023)

  Changed paths:
    M clang/lib/Driver/SanitizerArgs.cpp

  Log Message:
  -----------
  [Driver] Allow -fsanitize=kcfi with -fsanitize-minimal-runtime

Having both UBSan with the minimal runtime and KCFI enabled can be
useful in low-level software. As there are no conflicts between the
flags, add KCFI to the list of compatible sanitizers.




More information about the All-commits mailing list