mirror of
https://github.com/rui314/mold.git
synced 2024-12-26 18:02:30 +03:00
temporary
This commit is contained in:
parent
c7ca153a93
commit
b8f74f521f
12
chibild.h
12
chibild.h
@ -103,18 +103,6 @@ struct tbb_hash_compare<StringRef> {
|
||||
};
|
||||
}
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
class InputSection {
|
||||
public:
|
||||
InputSection(ObjectFile *file, ELF64LE::Shdr *hdr, StringRef name);
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "chibild.h"
|
||||
#include "symtab.h"
|
||||
|
||||
using namespace llvm;
|
||||
using namespace llvm::ELF;
|
||||
|
1
main.cc
1
main.cc
@ -8,7 +8,6 @@ using llvm::object::Archive;
|
||||
using llvm::opt::InputArgList;
|
||||
|
||||
Config config;
|
||||
SymbolTable symbol_table;
|
||||
|
||||
//
|
||||
// Command-line option processing
|
||||
|
@ -1,4 +1,7 @@
|
||||
#include "chibild.h"
|
||||
#include "symtab.h"
|
||||
|
||||
SymbolTable symbol_table;
|
||||
|
||||
void SymbolTable::add(StringRef name, Symbol sym) {
|
||||
MapType::accessor acc;
|
||||
|
Loading…
Reference in New Issue
Block a user