1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-27 10:23:41 +03:00
mold/symtab.h
2020-10-20 15:04:18 +09:00

16 lines
262 B
C++

#pragma once
#include "chibild.h"
class SymbolTable {
public:
void add(StringRef key, Symbol sym);
Symbol *get(StringRef key);
std::vector<StringRef> get_keys();
private:
typedef tbb::concurrent_hash_map<StringRef, Symbol> MapType;
MapType map;
};