More plumbing for breakpoints.
This commit is contained in:
@@ -28,6 +28,7 @@ typedef struct Entry_t {
|
||||
} Status;
|
||||
|
||||
uint64_t address;
|
||||
uint64_t end_address;
|
||||
Status status;
|
||||
Function* function;
|
||||
} Entry;
|
||||
@@ -41,6 +42,8 @@ public:
|
||||
Entry* Get(uint64_t address);
|
||||
Entry::Status GetOrCreate(uint64_t address, Entry** out_entry);
|
||||
|
||||
std::vector<Function*> FindWithAddress(uint64_t address);
|
||||
|
||||
private:
|
||||
// TODO(benvanik): replace with a better data structure.
|
||||
Mutex* lock_;
|
||||
|
||||
Reference in New Issue
Block a user