Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lld/COFF/InputFiles.h')
-rw-r--r--lld/COFF/InputFiles.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lld/COFF/InputFiles.h b/lld/COFF/InputFiles.h
index b0fb80b210c0..16d9834c9a1e 100644
--- a/lld/COFF/InputFiles.h
+++ b/lld/COFF/InputFiles.h
@@ -29,7 +29,9 @@ using llvm::object::COFFObjectFile;
using llvm::object::COFFSymbolRef;
class Chunk;
+class Defined;
class SymbolBody;
+class Undefined;
// The root class of input files.
class InputFile {
@@ -114,8 +116,9 @@ private:
std::error_code initializeChunks();
std::error_code initializeSymbols();
- SymbolBody *createSymbolBody(COFFSymbolRef Sym, const void *Aux,
- bool IsFirst);
+ Defined *createDefined(COFFSymbolRef Sym, const void *Aux, bool IsFirst);
+ Undefined *createUndefined(COFFSymbolRef Sym);
+ Undefined *createWeakExternal(COFFSymbolRef Sym, const void *Aux);
std::unique_ptr<COFFObjectFile> COFFObj;
llvm::BumpPtrAllocator Alloc;