[lld] r198786 - [Mips] Rename function to better reflect its purpose.
Simon Atanasyan
simon at atanasyan.com
Wed Jan 8 12:42:30 PST 2014
Author: atanasyan
Date: Wed Jan 8 14:42:30 2014
New Revision: 198786
URL: http://llvm.org/viewvc/llvm-project?rev=198786&view=rev
Log:
[Mips] Rename function to better reflect its purpose.
Modified:
lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationPass.cpp
Modified: lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationPass.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationPass.cpp?rev=198786&r1=198785&r2=198786&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationPass.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationPass.cpp Wed Jan 8 14:42:30 2014
@@ -119,10 +119,10 @@ private:
}
void handleGOT(const Reference &ref) {
- const_cast<Reference &>(ref).setTarget(getEntry(ref.target()));
+ const_cast<Reference &>(ref).setTarget(getGOTEntry(ref.target()));
}
- const GOTAtom *getEntry(const Atom *a) {
+ const GOTAtom *getGOTEntry(const Atom *a) {
auto got = _gotMap.find(a);
if (got != _gotMap.end())
return got->second;
More information about the llvm-commits
mailing list