[llvm] 9e869ef - [KCFI] Expand the KCFI term in comments (NFC)
Sami Tolvanen via llvm-commits
llvm-commits at lists.llvm.org
Tue May 9 16:20:12 PDT 2023
Author: Sami Tolvanen
Date: 2023-05-09T23:17:33Z
New Revision: 9e869efc1b0a4042f07be1dc2df9d1322638be83
URL: https://github.com/llvm/llvm-project/commit/9e869efc1b0a4042f07be1dc2df9d1322638be83
DIFF: https://github.com/llvm/llvm-project/commit/9e869efc1b0a4042f07be1dc2df9d1322638be83.diff
LOG: [KCFI] Expand the KCFI term in comments (NFC)
Added:
Modified:
llvm/lib/CodeGen/KCFI.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/KCFI.cpp b/llvm/lib/CodeGen/KCFI.cpp
index 6f3779f57176..bffa02ca8afd 100644
--- a/llvm/lib/CodeGen/KCFI.cpp
+++ b/llvm/lib/CodeGen/KCFI.cpp
@@ -1,4 +1,4 @@
-//===---- KCFI.cpp - Implements KCFI --------------------------------------===//
+//===---- KCFI.cpp - Implements Kernel Control-Flow Integrity (KCFI) ------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,7 +6,10 @@
//
//===----------------------------------------------------------------------===//
//
-// This pass implements KCFI indirect call check lowering.
+// This pass implements Kernel Control-Flow Integrity (KCFI) indirect call
+// check lowering. For each call instruction with a cfi-type attribute, it
+// emits an arch-specific check before the call, and bundles the check and
+// the call to prevent unintentional modifications.
//
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list