[lld] Make helpers static. NFC.

llvm-svn: 332408
This commit is contained in:
Benjamin Kramer
2018-05-15 22:01:54 +00:00
parent 919882638e
commit 5455038d98
4 changed files with 7 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ using namespace llvm::support::endian;
using namespace lld;
using namespace lld::wasm;
StringRef ReloctTypeToString(uint8_t RelocType) {
static StringRef ReloctTypeToString(uint8_t RelocType) {
switch (RelocType) {
#define WASM_RELOC(NAME, REL) case REL: return #NAME;
#include "llvm/BinaryFormat/WasmRelocs.def"