diff options
author | Rui Ueyama <ruiu@google.com> | 2015-12-25 06:55:39 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2015-12-25 06:55:39 +0000 |
commit | 7d332f5eb7220cd75d5be53875ec99d55caa81df (patch) | |
tree | 50590a03b29bd5a7d425137e410261d80a2e1e91 | |
parent | a246e094bc11c885eed1d765ada40db55507231e (diff) | |
download | bcm5719-llvm-7d332f5eb7220cd75d5be53875ec99d55caa81df.tar.gz bcm5719-llvm-7d332f5eb7220cd75d5be53875ec99d55caa81df.zip |
Add comments.
llvm-svn: 256409
-rw-r--r-- | lld/ELF/Symbols.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lld/ELF/Symbols.h b/lld/ELF/Symbols.h index e2a543c08cf..8556452dbb1 100644 --- a/lld/ELF/Symbols.h +++ b/lld/ELF/Symbols.h @@ -123,8 +123,16 @@ protected: const unsigned SymbolKind : 8; unsigned IsWeak : 1; unsigned Visibility : 2; + + // True if the symbol was used for linking and thus need to be + // added to the output file's symbol table. It is usually true, + // but if it is a shared symbol that were not referenced by anyone, + // it can be false. unsigned IsUsedInRegularObj : 1; + + // If true, the symbol is added to .dynsym symbol table. unsigned IsUsedInDynamicReloc : 1; + unsigned IsTls : 1; StringRef Name; Symbol *Backref = nullptr; |