[ELF] Replace getELFRelocationTypeName() calls with getRelName(). NFC.
That made few places in code a bit shorter.
llvm-svn: 272133
diff --git a/lld/ELF/Target.cpp b/lld/ELF/Target.cpp
index fc2af6b..5041f69 100644
--- a/lld/ELF/Target.cpp
+++ b/lld/ELF/Target.cpp
@@ -47,7 +47,7 @@
static void or32le(uint8_t *P, int32_t V) { write32le(P, read32le(P) | V); }
-static StringRef getRelName(uint32_t Type) {
+StringRef getRelName(uint32_t Type) {
return getELFRelocationTypeName(Config->EMachine, Type);
}