diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-06-29 08:36:36 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-06-29 08:36:36 +0000 |
commit | 9fc1d4ed7586afbe15bd29ffb08ac616f3e59ea8 (patch) | |
tree | 99355d3c909e473e1bf17388a2030e0d76ddc59f | |
parent | 2c880cf9b131cc528ae9d819c4965a9b5652e6fb (diff) | |
download | bcm5719-llvm-9fc1d4ed7586afbe15bd29ffb08ac616f3e59ea8.tar.gz bcm5719-llvm-9fc1d4ed7586afbe15bd29ffb08ac616f3e59ea8.zip |
[ELF] - Updated comments. NFC.
As was suggested by Rafael EspĂndola.
llvm-svn: 274111
-rw-r--r-- | lld/ELF/SymbolTable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/SymbolTable.cpp b/lld/ELF/SymbolTable.cpp index 08755b4ddb1..e5052281c46 100644 --- a/lld/ELF/SymbolTable.cpp +++ b/lld/ELF/SymbolTable.cpp @@ -165,7 +165,7 @@ static uint8_t getMinVisibility(uint8_t VA, uint8_t VB) { return std::min(VA, VB); } -// A symbol version may be included in a symbol name as a prefix after '@'. +// A symbol version may be included in a symbol name as a suffix after '@'. // This function parses that part and returns a version ID number. static uint16_t getVersionId(Symbol *Sym, StringRef Name) { size_t VersionBegin = Name.find('@'); @@ -174,7 +174,7 @@ static uint16_t getVersionId(Symbol *Sym, StringRef Name) { : VER_NDX_LOCAL; // If symbol name contains '@' or '@@' we can assign its version id right - // here. '@@' means version by default. It is usually the most recent one. + // here. '@@' means the default version. It is usually the most recent one. // VERSYM_HIDDEN flag should be set for all non-default versions. StringRef Version = Name.drop_front(VersionBegin + 1); bool Default = Version.startswith("@"); |