[lld] d099d95 - [lld] Add missing includes. (#143453)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 9 15:52:41 PDT 2025
Author: Jorge Gorbe Moya
Date: 2025-06-09T15:52:37-07:00
New Revision: d099d953ef7c9ad24512068f579cc868e1ee468f
URL: https://github.com/llvm/llvm-project/commit/d099d953ef7c9ad24512068f579cc868e1ee468f
DIFF: https://github.com/llvm/llvm-project/commit/d099d953ef7c9ad24512068f579cc868e1ee468f.diff
LOG: [lld] Add missing includes. (#143453)
Some inline methods in these headers require a complete type but the
corresponding include was missing.
Added:
Modified:
lld/COFF/TypeMerger.h
lld/ELF/DWARF.h
Removed:
################################################################################
diff --git a/lld/COFF/TypeMerger.h b/lld/COFF/TypeMerger.h
index b4e3d6e7d9fdb..effb6d603a592 100644
--- a/lld/COFF/TypeMerger.h
+++ b/lld/COFF/TypeMerger.h
@@ -9,6 +9,7 @@
#ifndef LLD_COFF_TYPEMERGER_H
#define LLD_COFF_TYPEMERGER_H
+#include "COFFLinkerContext.h"
#include "Config.h"
#include "DebugTypes.h"
#include "lld/Common/Timer.h"
diff --git a/lld/ELF/DWARF.h b/lld/ELF/DWARF.h
index 64c25c706c343..19b17647378bd 100644
--- a/lld/ELF/DWARF.h
+++ b/lld/ELF/DWARF.h
@@ -10,6 +10,7 @@
#define LLD_ELF_DWARF_H
#include "InputFiles.h"
+#include "InputSection.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
More information about the llvm-commits
mailing list