[lld] 0991bd7 - [lld-macho] Fix IWYU issues. NFC
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 28 16:50:17 PDT 2024
Author: Fangrui Song
Date: 2024-06-28T16:50:12-07:00
New Revision: 0991bd7887a313d4d6bb66ca44d11939ad71b660
URL: https://github.com/llvm/llvm-project/commit/0991bd7887a313d4d6bb66ca44d11939ad71b660
DIFF: https://github.com/llvm/llvm-project/commit/0991bd7887a313d4d6bb66ca44d11939ad71b660.diff
LOG: [lld-macho] Fix IWYU issues. NFC
Added:
Modified:
lld/MachO/Config.h
lld/MachO/SectionPriorities.h
lld/MachO/SyntheticSections.h
Removed:
################################################################################
diff --git a/lld/MachO/Config.h b/lld/MachO/Config.h
index 56351b66189d8..4d3f3d05c2338 100644
--- a/lld/MachO/Config.h
+++ b/lld/MachO/Config.h
@@ -12,7 +12,6 @@
#include "llvm/ADT/CachedHashString.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DenseSet.h"
-#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
diff --git a/lld/MachO/SectionPriorities.h b/lld/MachO/SectionPriorities.h
index 9906ea4c214ba..83cfe354e7263 100644
--- a/lld/MachO/SectionPriorities.h
+++ b/lld/MachO/SectionPriorities.h
@@ -11,6 +11,7 @@
#include "InputSection.h"
#include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/MapVector.h"
namespace lld::macho {
diff --git a/lld/MachO/SyntheticSections.h b/lld/MachO/SyntheticSections.h
index e8fadfef56d4b..a4c7f58481aa1 100644
--- a/lld/MachO/SyntheticSections.h
+++ b/lld/MachO/SyntheticSections.h
@@ -19,6 +19,7 @@
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/Hashing.h"
+#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/BinaryFormat/MachO.h"
#include "llvm/Support/MathExtras.h"
More information about the llvm-commits
mailing list