Home
last modified time | relevance | path

Searched refs:lldb (Results 1 – 25 of 2859) sorted by relevance

12345678910>>...115

/external/llvm-project/lldb/include/lldb/API/
DSBTarget.h25 namespace lldb {
43 SBTarget(const lldb::SBTarget &rhs);
45 SBTarget(const lldb::TargetSP &target_sp);
50 const lldb::SBTarget &operator=(const lldb::SBTarget &rhs);
56 static bool EventIsTargetEvent(const lldb::SBEvent &event);
58 static lldb::SBTarget GetTargetFromEvent(const lldb::SBEvent &event);
60 static uint32_t GetNumModulesFromEvent(const lldb::SBEvent &event);
62 static lldb::SBModule GetModuleAtIndexFromEvent(const uint32_t idx,
63 const lldb::SBEvent &event);
67 lldb::SBProcess GetProcess();
[all …]
DSBValue.h19 namespace lldb {
25 SBValue(const lldb::SBValue &rhs);
27 lldb::SBValue &operator=(const lldb::SBValue &rhs);
39 lldb::user_id_t GetID();
51 lldb::Format GetFormat();
53 void SetFormat(lldb::Format format);
57 int64_t GetValueAsSigned(lldb::SBError &error, int64_t fail_value = 0);
59 uint64_t GetValueAsUnsigned(lldb::SBError &error, uint64_t fail_value = 0);
73 const char *GetSummary(lldb::SBStream &stream,
74 lldb::SBTypeSummaryOptions &options);
[all …]
DSBProcess.h19 namespace lldb {
35 SBProcess(const lldb::SBProcess &rhs);
37 const lldb::SBProcess &operator=(const lldb::SBProcess &rhs);
39 SBProcess(const lldb::ProcessSP &process_sp);
56 lldb::SBTarget GetTarget() const;
58 lldb::ByteOrder GetByteOrder() const;
68 void ReportEventState(const lldb::SBEvent &event, FILE *out) const;
70 void ReportEventState(const lldb::SBEvent &event, SBFile file) const;
72 void ReportEventState(const lldb::SBEvent &event, FileSP file) const;
74 void AppendEventStateReport(const lldb::SBEvent &event,
[all …]
DSBFrame.h15 namespace lldb {
21 SBFrame(const lldb::SBFrame &rhs);
23 const lldb::SBFrame &operator=(const lldb::SBFrame &rhs);
27 bool IsEqual(const lldb::SBFrame &that) const;
35 lldb::addr_t GetCFA() const;
37 lldb::addr_t GetPC() const;
39 bool SetPC(lldb::addr_t new_pc);
41 lldb::addr_t GetSP() const;
43 lldb::addr_t GetFP() const;
45 lldb::SBAddress GetPCAddress() const;
[all …]
DSBData.h14 namespace lldb {
38 lldb::ByteOrder GetByteOrder();
40 void SetByteOrder(lldb::ByteOrder endian);
42 float GetFloat(lldb::SBError &error, lldb::offset_t offset);
44 double GetDouble(lldb::SBError &error, lldb::offset_t offset);
46 long double GetLongDouble(lldb::SBError &error, lldb::offset_t offset);
48 lldb::addr_t GetAddress(lldb::SBError &error, lldb::offset_t offset);
50 uint8_t GetUnsignedInt8(lldb::SBError &error, lldb::offset_t offset);
52 uint16_t GetUnsignedInt16(lldb::SBError &error, lldb::offset_t offset);
54 uint32_t GetUnsignedInt32(lldb::SBError &error, lldb::offset_t offset);
[all …]
DSBType.h14 namespace lldb {
22 SBTypeMember(const lldb::SBTypeMember &rhs);
26 lldb::SBTypeMember &operator=(const lldb::SBTypeMember &rhs);
34 lldb::SBType GetType();
44 bool GetDescription(lldb::SBStream &description,
45 lldb::DescriptionLevel description_level);
63 SBTypeMemberFunction(const lldb::SBTypeMemberFunction &rhs);
67 lldb::SBTypeMemberFunction &operator=(const lldb::SBTypeMemberFunction &rhs);
79 lldb::SBType GetType();
81 lldb::SBType GetReturnType();
[all …]
DSBModule.h18 namespace lldb {
30 SBModule(lldb::SBProcess &process, lldb::addr_t header_addr);
48 lldb::SBFileSpec GetFileSpec() const;
63 lldb::SBFileSpec GetPlatformFileSpec() const;
65 bool SetPlatformFileSpec(const lldb::SBFileSpec &platform_file);
77 lldb::SBFileSpec GetRemoteInstallFileSpec();
95 bool SetRemoteInstallFileSpec(lldb::SBFileSpec &file);
97 lldb::ByteOrder GetByteOrder();
107 bool operator==(const lldb::SBModule &rhs) const;
109 bool operator!=(const lldb::SBModule &rhs) const;
[all …]
DSBDebugger.h17 namespace lldb {
24 SBError Initialize(lldb::SBDebugger &sb_debugger,
25 unsigned long (*callback)(void *, lldb::SBInputReader *,
26 lldb::InputReaderAction,
28 void *a, lldb::InputReaderGranularity b, char const *c,
38 SBDebugger(const lldb::SBDebugger &rhs);
40 SBDebugger(const lldb::DebuggerSP &debugger_sp);
44 lldb::SBDebugger &operator=(const lldb::SBDebugger &rhs);
48 static lldb::SBError InitializeWithErrorHandling();
53 static lldb::SBDebugger Create();
[all …]
DSBCommandInterpreter.h17 namespace lldb {
29 SBCommandInterpreter(const lldb::SBCommandInterpreter &rhs);
33 const lldb::SBCommandInterpreter &
34 operator=(const lldb::SBCommandInterpreter &rhs);
37 GetArgumentTypeAsCString(const lldb::CommandArgumentType arg_type);
40 GetArgumentDescriptionAsCString(const lldb::CommandArgumentType arg_type);
42 static bool EventIsCommandInterpreterEvent(const lldb::SBEvent &event);
52 lldb::SBBroadcaster GetBroadcaster();
62 lldb::SBProcess GetProcess();
64 lldb::SBDebugger GetDebugger();
[all …]
/external/llvm-project/lldb/bindings/
Dheaders.swig9 #include "lldb/lldb-public.h"
10 #include "lldb/API/SBAddress.h"
11 #include "lldb/API/SBAttachInfo.h"
12 #include "lldb/API/SBBlock.h"
13 #include "lldb/API/SBBreakpoint.h"
14 #include "lldb/API/SBBreakpointLocation.h"
15 #include "lldb/API/SBBreakpointName.h"
16 #include "lldb/API/SBBroadcaster.h"
17 #include "lldb/API/SBCommandInterpreter.h"
18 #include "lldb/API/SBCommandInterpreterRunOptions.h"
[all …]
/external/llvm-project/lldb/source/DataFormatters/
DVectorType.cpp20 using namespace lldb;
24 static CompilerType GetCompilerTypeForFormat(lldb::Format format, in GetCompilerTypeForFormat()
30 case lldb::eFormatAddressInfo: in GetCompilerTypeForFormat()
31 case lldb::eFormatPointer: in GetCompilerTypeForFormat()
35 case lldb::eFormatBoolean: in GetCompilerTypeForFormat()
36 return type_system->GetBasicTypeFromAST(lldb::eBasicTypeBool); in GetCompilerTypeForFormat()
38 case lldb::eFormatBytes: in GetCompilerTypeForFormat()
39 case lldb::eFormatBytesWithASCII: in GetCompilerTypeForFormat()
40 case lldb::eFormatChar: in GetCompilerTypeForFormat()
41 case lldb::eFormatCharArray: in GetCompilerTypeForFormat()
[all …]
/external/llvm-project/lldb/bindings/interface/
DSBTarget.i9 namespace lldb {
69 SBTarget (const lldb::SBTarget& rhs);
85 EventIsTargetEvent (const lldb::SBEvent &event);
87 static lldb::SBTarget
88 GetTargetFromEvent (const lldb::SBEvent &event);
91 GetNumModulesFromEvent (const lldb::SBEvent &event);
93 static lldb::SBModule
94 GetModuleAtIndexFromEvent (const uint32_t idx, const lldb::SBEvent &event);
96 lldb::SBProcess
108 lldb::SBPlatform
[all …]
DSBDebugger.i9 namespace lldb {
130 static lldb::SBDebugger
133 static lldb::SBDebugger
136 static lldb::SBDebugger
137 Create(bool source_init_files, lldb::LogOutputCallback log_callback, void *baton);
140 Destroy (lldb::SBDebugger &debugger);
147 SBDebugger(const lldb::SBDebugger &rhs);
196 lldb::FileSP GetInputFileHandle() { in GetInputFileHandle()
200 lldb::FileSP GetOutputFileHandle() { in GetOutputFileHandle()
204 lldb::FileSP GetErrorFileHandle() { in GetErrorFileHandle()
[all …]
DSBProcess.i9 namespace lldb {
49 SBProcess (const lldb::SBProcess& rhs);
70 lldb::SBTarget
73 lldb::ByteOrder
100 ReportEventState (const lldb::SBEvent &event, SBFile out) const;
103 ReportEventState (const lldb::SBEvent &event, FileSP BORROWED) const;
106 AppendEventStateReport (const lldb::SBEvent &event, lldb::SBCommandReturnObject &result);
113 RemoteAttachToProcessWithID (lldb::pid_t pid,
114 lldb::SBError& error);
128 lldb::SBError& error);
[all …]
/external/llvm-project/lldb/include/lldb/Utility/
DDataExtractor.h87 DataExtractor(const void *data, lldb::offset_t data_length,
88 lldb::ByteOrder byte_order, uint32_t addr_size,
109 DataExtractor(const lldb::DataBufferSP &data_sp, lldb::ByteOrder byte_order,
134 DataExtractor(const DataExtractor &data, lldb::offset_t offset,
135 lldb::offset_t length, uint32_t target_byte_size = 1);
195 lldb::offset_t PutToLog(Log *log, lldb::offset_t offset,
196 lldb::offset_t length, uint64_t base_addr,
224 size_t ExtractBytes(lldb::offset_t offset, lldb::offset_t length,
225 lldb::ByteOrder dst_byte_order, void *dst) const;
243 uint64_t GetAddress(lldb::offset_t *offset_ptr) const;
[all …]
/external/llvm-project/lldb/include/lldb/Symbol/
DTypeSystem.h45 llvm::Optional<lldb::LanguageType> GetSingularLanguage();
46 void Insert(lldb::LanguageType language);
79 static lldb::TypeSystemSP CreateInstance(lldb::LanguageType language,
82 static lldb::TypeSystemSP CreateInstance(lldb::LanguageType language,
125 void *opaque_decl_ctx, lldb::LanguageType *language_ptr,
135 virtual bool Verify(lldb::opaque_compiler_type_t type) = 0;
138 virtual bool IsArrayType(lldb::opaque_compiler_type_t type,
142 virtual bool IsAggregateType(lldb::opaque_compiler_type_t type) = 0;
144 virtual bool IsAnonymousType(lldb::opaque_compiler_type_t type);
146 virtual bool IsCharType(lldb::opaque_compiler_type_t type) = 0;
[all …]
/external/llvm-project/lldb/include/lldb/
Dlldb-private-interfaces.h29 typedef lldb::ABISP (*ABICreateInstance)(lldb::ProcessSP process_sp,
37 typedef lldb::JITLoaderSP (*JITLoaderCreateInstance)(Process *process,
40 const lldb::ModuleSP &module_sp, lldb::DataBufferSP &data_sp,
41 lldb::offset_t data_offset, const FileSpec *file, lldb::offset_t offset,
42 lldb::offset_t length);
44 const FileSpec &file, lldb::DataBufferSP &data_sp,
45 lldb::offset_t data_offset, lldb::offset_t file_offset,
46 lldb::offset_t length, ModuleSpecList &module_specs);
47 typedef ObjectFile *(*ObjectFileCreateInstance)(const lldb::ModuleSP &module_sp,
48 lldb::DataBufferSP &data_sp,
[all …]
/external/llvm-project/lldb/source/API/
DSBData.cpp22 using namespace lldb;
29 SBData::SBData(const lldb::DataExtractorSP &data_sp) : m_opaque_sp(data_sp) {} in SBData()
32 LLDB_RECORD_CONSTRUCTOR(SBData, (const lldb::SBData &), rhs); in SBData()
36 LLDB_RECORD_METHOD(const lldb::SBData &, in operator =()
37 SBData, operator=,(const lldb::SBData &), rhs); in operator =()
46 void SBData::SetOpaque(const lldb::DataExtractorSP &data_sp) { in SetOpaque()
56 lldb::DataExtractorSP &SBData::operator*() { return m_opaque_sp; } in operator *()
58 const lldb::DataExtractorSP &SBData::operator*() const { return m_opaque_sp; } in operator *()
103 lldb::ByteOrder SBData::GetByteOrder() { in GetByteOrder()
104 LLDB_RECORD_METHOD_NO_ARGS(lldb::ByteOrder, SBData, GetByteOrder); in GetByteOrder()
[all …]
DSBValue.cpp51 using namespace lldb;
58 ValueImpl(lldb::ValueObjectSP in_valobj_sp, in ValueImpl()
59 lldb::DynamicValueType use_dynamic, bool use_synthetic, in ValueImpl()
65 lldb::eNoDynamicValues, false))) { in ValueImpl()
106 lldb::ValueObjectSP GetRootSP() { return m_valobj_sp; } in GetRootSP()
108 lldb::ValueObjectSP GetSP(Process::StopLocker &stop_locker, in GetSP()
116 lldb::ValueObjectSP value_sp = m_valobj_sp; in GetSP()
153 void SetUseDynamic(lldb::DynamicValueType use_dynamic) { in SetUseDynamic()
159 lldb::DynamicValueType GetUseDynamic() { return m_use_dynamic; } in GetUseDynamic()
196 lldb::ValueObjectSP m_valobj_sp;
[all …]
DSBTarget.cpp71 using namespace lldb;
105 LLDB_RECORD_CONSTRUCTOR(SBTarget, (const lldb::SBTarget &), rhs); in SBTarget()
109 LLDB_RECORD_CONSTRUCTOR(SBTarget, (const lldb::TargetSP &), target_sp); in SBTarget()
113 LLDB_RECORD_METHOD(const lldb::SBTarget &, in operator =()
114 SBTarget, operator=,(const lldb::SBTarget &), rhs); in operator =()
126 (const lldb::SBEvent &), event); in EventIsTargetEvent()
132 LLDB_RECORD_STATIC_METHOD(lldb::SBTarget, SBTarget, GetTargetFromEvent, in GetTargetFromEvent()
133 (const lldb::SBEvent &), event); in GetTargetFromEvent()
141 (const lldb::SBEvent &), event); in GetNumModulesFromEvent()
150 LLDB_RECORD_STATIC_METHOD(lldb::SBModule, SBTarget, GetModuleAtIndexFromEvent, in GetModuleAtIndexFromEvent()
[all …]
DSBThreadPlan.cpp49 using namespace lldb;
57 LLDB_RECORD_CONSTRUCTOR(SBThreadPlan, (const lldb::ThreadPlanSP &), in SBThreadPlan()
63 LLDB_RECORD_CONSTRUCTOR(SBThreadPlan, (const lldb::SBThreadPlan &), rhs); in SBThreadPlan()
66 SBThreadPlan::SBThreadPlan(lldb::SBThread &sb_thread, const char *class_name) { in SBThreadPlan()
67 LLDB_RECORD_CONSTRUCTOR(SBThreadPlan, (lldb::SBThread &, const char *), in SBThreadPlan()
76 SBThreadPlan::SBThreadPlan(lldb::SBThread &sb_thread, const char *class_name, in SBThreadPlan()
77 lldb::SBStructuredData &args_data) { in SBThreadPlan()
78 LLDB_RECORD_CONSTRUCTOR(SBThreadPlan, (lldb::SBThread &, const char *, in SBThreadPlan()
90 const lldb::SBThreadPlan &SBThreadPlan::operator=(const SBThreadPlan &rhs) { in operator =()
91 LLDB_RECORD_METHOD(const lldb::SBThreadPlan &, in operator =()
[all …]
DSBAddress.cpp21 using namespace lldb;
32 LLDB_RECORD_CONSTRUCTOR(SBAddress, (const lldb::SBAddress &), rhs); in SBAddress()
37 SBAddress::SBAddress(lldb::SBSection section, lldb::addr_t offset) in SBAddress()
39 LLDB_RECORD_CONSTRUCTOR(SBAddress, (lldb::SBSection, lldb::addr_t), section, in SBAddress()
44 SBAddress::SBAddress(lldb::addr_t load_addr, lldb::SBTarget &target) in SBAddress()
46 LLDB_RECORD_CONSTRUCTOR(SBAddress, (lldb::addr_t, lldb::SBTarget &), in SBAddress()
55 LLDB_RECORD_METHOD(const lldb::SBAddress &, in operator =()
56 SBAddress, operator=,(const lldb::SBAddress &), rhs); in operator =()
63 bool lldb::operator==(const SBAddress &lhs, const SBAddress &rhs) { in operator ==()
92 void SBAddress::SetAddress(lldb::SBSection section, lldb::addr_t offset) { in SetAddress()
[all …]
/external/llvm-project/lldb/include/lldb/Core/
DSection.h36 typedef std::vector<lldb::SectionSP> collection;
50 size_t AddSection(const lldb::SectionSP &section_sp);
52 size_t AddUniqueSection(const lldb::SectionSP &section_sp);
56 bool ContainsSection(lldb::user_id_t sect_id) const;
61 lldb::SectionSP FindSectionByName(ConstString section_dstr) const;
63 lldb::SectionSP FindSectionByID(lldb::user_id_t sect_id) const;
65 lldb::SectionSP FindSectionByType(lldb::SectionType sect_type,
69 lldb::SectionSP
70 FindSectionContainingFileAddress(lldb::addr_t addr,
79 bool ReplaceSection(lldb::user_id_t sect_id,
[all …]
/external/llvm-project/lldb/include/lldb/Target/
DStackFrame.h106 StackFrame(const lldb::ThreadSP &thread_sp, lldb::user_id_t frame_idx,
107 lldb::user_id_t concrete_frame_idx, lldb::addr_t cfa,
108 bool cfa_is_valid, lldb::addr_t pc, Kind frame_kind,
111 StackFrame(const lldb::ThreadSP &thread_sp, lldb::user_id_t frame_idx,
112 lldb::user_id_t concrete_frame_idx,
113 const lldb::RegisterContextSP &reg_context_sp, lldb::addr_t cfa,
114 lldb::addr_t pc, bool behaves_like_zeroth_frame,
117 StackFrame(const lldb::ThreadSP &thread_sp, lldb::user_id_t frame_idx,
118 lldb::user_id_t concrete_frame_idx,
119 const lldb::RegisterContextSP &reg_context_sp, lldb::addr_t cfa,
[all …]
DThread.h85 ThreadEventData(const lldb::ThreadSP thread_sp);
87 ThreadEventData(const lldb::ThreadSP thread_sp, const StackID &stack_id);
103 static lldb::ThreadSP GetThreadFromEvent(const Event *event_ptr);
107 static lldb::StackFrameSP GetStackFrameFromEvent(const Event *event_ptr);
109 lldb::ThreadSP GetThread() const { return m_thread_sp; } in GetThread()
114 lldb::ThreadSP m_thread_sp;
124 lldb::StopInfoSP stop_info_sp; // You have to restore the stop info or you
127 lldb::RegisterCheckpointSP
130 lldb::addr_t current_inlined_pc;
144 Thread(Process &process, lldb::tid_t tid, bool use_invalid_index_id = false);
[all …]

12345678910>>...115