diff options
Diffstat (limited to 'lld/COFF/InputFiles.h')
-rw-r--r-- | lld/COFF/InputFiles.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lld/COFF/InputFiles.h b/lld/COFF/InputFiles.h index 12e4f79bde0..b0fb80b210c 100644 --- a/lld/COFF/InputFiles.h +++ b/lld/COFF/InputFiles.h @@ -10,8 +10,6 @@ #ifndef LLD_COFF_INPUT_FILES_H #define LLD_COFF_INPUT_FILES_H -#include "Chunks.h" -#include "Symbols.h" #include "lld/Core/LLVM.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/LTO/LTOModule.h" @@ -28,6 +26,10 @@ namespace coff { using llvm::LTOModule; using llvm::object::Archive; using llvm::object::COFFObjectFile; +using llvm::object::COFFSymbolRef; + +class Chunk; +class SymbolBody; // The root class of input files. class InputFile { @@ -102,7 +104,7 @@ public: // Returns a SymbolBody object for the SymbolIndex'th symbol in the // underlying object file. SymbolBody *getSymbolBody(uint32_t SymbolIndex) { - return SparseSymbolBodies[SymbolIndex]->getReplacement(); + return SparseSymbolBodies[SymbolIndex]; } // Returns the underying COFF file. |