diff options
| author | George Rimar <grimar@accesssoftek.com> | 2017-03-17 11:56:54 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2017-03-17 11:56:54 +0000 |
| commit | f64618a621f4da195a6e7e3ab1a5ea062f81dbcb (patch) | |
| tree | 1612de04784ee7836ac40678a412fdcdcced9c22 /lld/ELF/LinkerScript.cpp | |
| parent | 5a5c54f78ece71048e39899d504d5208a9b752b4 (diff) | |
| download | bcm5719-llvm-f64618a621f4da195a6e7e3ab1a5ea062f81dbcb.tar.gz bcm5719-llvm-f64618a621f4da195a6e7e3ab1a5ea062f81dbcb.zip | |
[ELF] - Detemplate SymbolBody::getVA and SymbolBody::getPltVA. NFC.
llvm-svn: 298071
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
| -rw-r--r-- | lld/ELF/LinkerScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index 99a041988d6..36dbb7a10ec 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -916,7 +916,7 @@ uint64_t LinkerScript<ELFT>::getSymbolValue(const Twine &Loc, StringRef S) { if (S == ".") return Dot; if (SymbolBody *B = Symtab<ELFT>::X->find(S)) - return B->getVA<ELFT>(); + return B->getVA(); error(Loc + ": symbol not found: " + S); return 0; } |

