mirror of
https://github.com/intel/llvm.git
synced 2026-01-23 07:58:23 +08:00
[lld] Make helpers static. NFC.
llvm-svn: 332408
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user