[llvm] [KCFI][NFC] Remove unused header (PR #170599)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 3 19:37:42 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-transforms
Author: Jordan Rupprecht (rupprecht)
<details>
<summary>Changes</summary>
In addition to being unused, this forms a layering violation between Transforms/Utils and Transforms/Instrumentation
---
Full diff: https://github.com/llvm/llvm-project/pull/170599.diff
1 Files Affected:
- (modified) llvm/lib/Transforms/Utils/ModuleUtils.cpp (-1)
``````````diff
diff --git a/llvm/lib/Transforms/Utils/ModuleUtils.cpp b/llvm/lib/Transforms/Utils/ModuleUtils.cpp
index 30d7831f06a2b..63a234960a0ad 100644
--- a/llvm/lib/Transforms/Utils/ModuleUtils.cpp
+++ b/llvm/lib/Transforms/Utils/ModuleUtils.cpp
@@ -22,7 +22,6 @@
#include "llvm/Support/Hash.h"
#include "llvm/Support/MD5.h"
#include "llvm/Support/raw_ostream.h"
-#include "llvm/Transforms/Instrumentation/KCFI.h"
using namespace llvm;
``````````
</details>
https://github.com/llvm/llvm-project/pull/170599
More information about the llvm-commits
mailing list