mirror of
https://github.com/rui314/mold.git
synced 2024-12-27 10:23:41 +03:00
16 lines
262 B
C++
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;
|
|
};
|