WIP
This commit is contained in:
23
src/backend/lldb/lldb_backend.h
Normal file
23
src/backend/lldb/lldb_backend.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include "backend/debug_backend.h"
|
||||
#include <lldb/API/SBDebugger.h>
|
||||
#include <lldb/API/SBTarget.h>
|
||||
#include <lldb/API/SBProcess.h>
|
||||
#include <string>
|
||||
|
||||
namespace dbgui::backend {
|
||||
struct LLDBBackend : Backend {
|
||||
// TODO: source_init_file: false
|
||||
LLDBBackend(std::string filename);
|
||||
virtual ~LLDBBackend();
|
||||
|
||||
void start() override;
|
||||
|
||||
private:
|
||||
std::string _filename;
|
||||
lldb::SBDebugger _instance;
|
||||
lldb::SBTarget _target;
|
||||
std::optional<lldb::SBProcess> _process;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user