[lld] 9f9ac34 - [ELF] Symbols.h: remove #include "InputFiles.h"
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 23 21:36:49 PST 2022
Author: Fangrui Song
Date: 2022-02-23T21:36:45-08:00
New Revision: 9f9ac3464e9c8ccdadd273d4fb010b93fcd53dae
URL: https://github.com/llvm/llvm-project/commit/9f9ac3464e9c8ccdadd273d4fb010b93fcd53dae
DIFF: https://github.com/llvm/llvm-project/commit/9f9ac3464e9c8ccdadd273d4fb010b93fcd53dae.diff
LOG: [ELF] Symbols.h: remove #include "InputFiles.h"
Added:
Modified:
lld/ELF/SymbolTable.h
lld/ELF/Symbols.h
Removed:
################################################################################
diff --git a/lld/ELF/SymbolTable.h b/lld/ELF/SymbolTable.h
index e55daffe8ba4..5cc0eae87bb9 100644
--- a/lld/ELF/SymbolTable.h
+++ b/lld/ELF/SymbolTable.h
@@ -17,6 +17,7 @@ namespace lld {
namespace elf {
class InputFile;
+class SharedFile;
// SymbolTable is a bucket of all known symbols, including defined,
// undefined, or lazy symbols (the last one is symbols in archive
diff --git a/lld/ELF/Symbols.h b/lld/ELF/Symbols.h
index d2ce34d4bba1..96f946935d4d 100644
--- a/lld/ELF/Symbols.h
+++ b/lld/ELF/Symbols.h
@@ -14,7 +14,6 @@
#define LLD_ELF_SYMBOLS_H
#include "Config.h"
-#include "InputFiles.h"
#include "lld/Common/LLVM.h"
#include "lld/Common/Memory.h"
#include "llvm/ADT/DenseMap.h"
More information about the llvm-commits
mailing list