mirror of
https://github.com/rui314/mold.git
synced 2024-12-26 18:02:30 +03:00
temporary
This commit is contained in:
parent
aebb80584b
commit
69f13f4832
15
chibild.h
15
chibild.h
@ -81,9 +81,22 @@ public:
|
||||
ObjectFile *file;
|
||||
};
|
||||
|
||||
namespace tbb {
|
||||
template<>
|
||||
struct tbb_hash_compare<StringRef> {
|
||||
static size_t hash(const StringRef& k) {
|
||||
return llvm::hash_value(k);
|
||||
}
|
||||
|
||||
static bool equal(const StringRef& k1, const StringRef& k2) {
|
||||
return k1 == k2;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
class SymbolTable {
|
||||
public:
|
||||
tbb::concurrent_hash_map<int, int> map;
|
||||
tbb::concurrent_hash_map<StringRef, Symbol *> map;
|
||||
};
|
||||
|
||||
class InputSection {
|
||||
|
Loading…
Reference in New Issue
Block a user