Home
last modified time | relevance | path

Searched refs:m_opaque_sp (Results 1 – 25 of 62) sorted by relevance

123

/external/llvm-project/lldb/tools/intel-features/intel-pt/
DPTDecoder.cpp18 : m_opaque_sp(ptr) {} in PTInstruction()
23 return (m_opaque_sp ? m_opaque_sp->GetInsnAddress() : 0); in GetInsnAddress()
27 return (m_opaque_sp ? m_opaque_sp->GetRawBytes(buf, size) : 0); in GetRawBytes()
31 return (m_opaque_sp ? m_opaque_sp->GetError() : "null pointer"); in GetError()
35 return (m_opaque_sp ? m_opaque_sp->GetSpeculative() : 0); in GetSpeculative()
40 return (m_opaque_sp ? m_opaque_sp->GetSize() : 0); in GetSize()
44 if (m_opaque_sp) in GetInstructionAtIndex()
46 new Instruction(m_opaque_sp->GetInstructionAtIndex(idx)))); in GetInstructionAtIndex()
54 m_opaque_sp = ptr; in SetSP()
57 if (!m_opaque_sp) in Clear()
[all …]
DPTDecoder.h75 std::shared_ptr<ptdecoder_private::Instruction> m_opaque_sp;
96 std::shared_ptr<ptdecoder_private::InstructionList> m_opaque_sp; variable
126 std::shared_ptr<ptdecoder_private::TraceOptions> m_opaque_sp; variable
266 std::shared_ptr<ptdecoder_private::Decoder> m_opaque_sp;
/external/llvm-project/lldb/source/API/
DSBAttachInfo.cpp19 SBAttachInfo::SBAttachInfo() : m_opaque_sp(new ProcessAttachInfo()) { in SBAttachInfo()
24 : m_opaque_sp(new ProcessAttachInfo()) { in SBAttachInfo()
27 m_opaque_sp->SetProcessID(pid); in SBAttachInfo()
31 : m_opaque_sp(new ProcessAttachInfo()) { in SBAttachInfo()
35 m_opaque_sp->GetExecutableFile().SetFile(path, FileSpec::Style::native); in SBAttachInfo()
36 m_opaque_sp->SetWaitForLaunch(wait_for); in SBAttachInfo()
40 : m_opaque_sp(new ProcessAttachInfo()) { in SBAttachInfo()
45 m_opaque_sp->GetExecutableFile().SetFile(path, FileSpec::Style::native); in SBAttachInfo()
46 m_opaque_sp->SetWaitForLaunch(wait_for); in SBAttachInfo()
47 m_opaque_sp->SetAsync(async); in SBAttachInfo()
[all …]
DSBLaunchInfo.cpp39 : m_opaque_sp(new SBLaunchInfoImpl()) { in SBLaunchInfo()
42 m_opaque_sp->GetFlags().Reset(eLaunchFlagDebug | eLaunchFlagDisableASLR); in SBLaunchInfo()
44 m_opaque_sp->GetArguments().SetArguments(argv); in SBLaunchInfo()
50 m_opaque_sp = rhs.m_opaque_sp; in SBLaunchInfo()
57 m_opaque_sp = rhs.m_opaque_sp; in operator =()
64 return *m_opaque_sp; in ref()
68 *m_opaque_sp = info; in set_ref()
74 return m_opaque_sp->GetProcessID(); in GetProcessID()
80 return m_opaque_sp->GetUserID(); in GetUserID()
86 return m_opaque_sp->GetGroupID(); in GetGroupID()
[all …]
DSBDebugger.cpp132 : m_opaque_sp(debugger_sp) { in SBDebugger()
136 SBDebugger::SBDebugger(const SBDebugger &rhs) : m_opaque_sp(rhs.m_opaque_sp) { in SBDebugger()
147 m_opaque_sp = rhs.m_opaque_sp; in operator =()
178 if (m_opaque_sp) in Clear()
179 m_opaque_sp->ClearIOHandlers(); in Clear()
181 m_opaque_sp.reset(); in Clear()
235 Debugger::Destroy(debugger.m_opaque_sp); in Destroy()
237 if (debugger.m_opaque_sp.get() != nullptr) in Destroy()
238 debugger.m_opaque_sp.reset(); in Destroy()
261 return m_opaque_sp.get() != nullptr; in operator bool()
[all …]
DSBTypeSynthetic.cpp19 SBTypeSynthetic::SBTypeSynthetic() : m_opaque_sp() { in SBTypeSynthetic()
48 : m_opaque_sp(rhs.m_opaque_sp) { in SBTypeSynthetic()
62 return m_opaque_sp.get() != nullptr; in operator bool()
70 const char *code = m_opaque_sp->GetPythonCode(); in IsClassCode()
88 return m_opaque_sp->GetPythonCode(); in GetData()
90 return m_opaque_sp->GetPythonClassName(); in GetData()
97 m_opaque_sp->SetPythonClassName(data); in SetClassName()
104 m_opaque_sp->SetPythonCode(data); in SetClassCode()
112 return m_opaque_sp->GetOptions(); in GetOptions()
120 m_opaque_sp->SetOptions(value); in SetOptions()
[all …]
DSBListener.cpp23 SBListener::SBListener() : m_opaque_sp(), m_unused_ptr(nullptr) { in SBListener()
28 : m_opaque_sp(Listener::MakeListener(name)), m_unused_ptr(nullptr) { in SBListener()
33 : m_opaque_sp(rhs.m_opaque_sp), m_unused_ptr(nullptr) { in SBListener()
42 m_opaque_sp = rhs.m_opaque_sp; in operator =()
49 : m_opaque_sp(listener_sp), m_unused_ptr(nullptr) {} in SBListener()
60 return m_opaque_sp != nullptr; in operator bool()
69 m_opaque_sp->AddEvent(event_sp); in AddEvent()
75 if (m_opaque_sp) in Clear()
76 m_opaque_sp->Clear(); in Clear()
86 if (m_opaque_sp) { in StartListeningForEventClass()
[all …]
DSBType.cpp29 SBType::SBType() : m_opaque_sp() { LLDB_RECORD_CONSTRUCTOR_NO_ARGS(SBType); } in SBType()
32 : m_opaque_sp(new TypeImpl( in SBType()
36 : m_opaque_sp(new TypeImpl(type_sp)) {} in SBType()
39 : m_opaque_sp(type_impl_sp) {} in SBType()
41 SBType::SBType(const SBType &rhs) : m_opaque_sp() { in SBType()
45 m_opaque_sp = rhs.m_opaque_sp; in SBType()
62 return *m_opaque_sp.get() == *rhs.m_opaque_sp.get(); in operator ==()
74 return *m_opaque_sp.get() != *rhs.m_opaque_sp.get(); in operator !=()
77 lldb::TypeImplSP SBType::GetSP() { return m_opaque_sp; } in GetSP()
80 m_opaque_sp = type_impl_sp; in SetSP()
[all …]
DSBTypeFormat.cpp19 SBTypeFormat::SBTypeFormat() : m_opaque_sp() { in SBTypeFormat()
24 : m_opaque_sp( in SBTypeFormat()
31 : m_opaque_sp(TypeFormatImplSP(new TypeFormatImpl_EnumType( in SBTypeFormat()
38 : m_opaque_sp(rhs.m_opaque_sp) { in SBTypeFormat()
51 return m_opaque_sp.get() != nullptr; in operator bool()
57 if (IsValid() && m_opaque_sp->GetType() == TypeFormatImpl::Type::eTypeFormat) in GetFormat()
58 return ((TypeFormatImpl_Format *)m_opaque_sp.get())->GetFormat(); in GetFormat()
65 if (IsValid() && m_opaque_sp->GetType() == TypeFormatImpl::Type::eTypeEnum) in GetTypeName()
66 return ((TypeFormatImpl_EnumType *)m_opaque_sp.get()) in GetTypeName()
76 return m_opaque_sp->GetOptions(); in GetOptions()
[all …]
DSBThreadCollection.cpp17 SBThreadCollection::SBThreadCollection() : m_opaque_sp() { in SBThreadCollection()
22 : m_opaque_sp(rhs.m_opaque_sp) { in SBThreadCollection()
34 m_opaque_sp = rhs.m_opaque_sp; in operator =()
39 : m_opaque_sp(threads) {} in SBThreadCollection()
44 m_opaque_sp = threads; in SetOpaque()
48 return m_opaque_sp.get(); in get()
52 return m_opaque_sp.operator->(); in operator ->()
56 return m_opaque_sp; in operator *()
60 return m_opaque_sp; in operator *()
70 return m_opaque_sp.get() != nullptr; in operator bool()
[all …]
DSBData.cpp25 SBData::SBData() : m_opaque_sp(new DataExtractor()) { in SBData()
29 SBData::SBData(const lldb::DataExtractorSP &data_sp) : m_opaque_sp(data_sp) {} in SBData()
31 SBData::SBData(const SBData &rhs) : m_opaque_sp(rhs.m_opaque_sp) { in SBData()
40 m_opaque_sp = rhs.m_opaque_sp; in operator =()
47 m_opaque_sp = data_sp; in SetOpaque()
50 lldb_private::DataExtractor *SBData::get() const { return m_opaque_sp.get(); } in get()
53 return m_opaque_sp.operator->(); in operator ->()
56 lldb::DataExtractorSP &SBData::operator*() { return m_opaque_sp; } in operator *()
58 const lldb::DataExtractorSP &SBData::operator*() const { return m_opaque_sp; } in operator *()
67 return m_opaque_sp.get() != nullptr; in operator bool()
[all …]
DSBTypeCategory.cpp29 SBTypeCategory::SBTypeCategory() : m_opaque_sp() { in SBTypeCategory()
33 SBTypeCategory::SBTypeCategory(const char *name) : m_opaque_sp() { in SBTypeCategory()
34 DataVisualization::Categories::GetCategory(ConstString(name), m_opaque_sp); in SBTypeCategory()
38 : m_opaque_sp(rhs.m_opaque_sp) { in SBTypeCategory()
51 return (m_opaque_sp.get() != nullptr); in operator bool()
59 return m_opaque_sp->IsEnabled(); in GetEnabled()
68 DataVisualization::Categories::Enable(m_opaque_sp); in SetEnabled()
70 DataVisualization::Categories::Disable(m_opaque_sp); in SetEnabled()
78 return m_opaque_sp->GetName(); in GetName()
86 return m_opaque_sp->GetLanguageAtIndex(idx); in GetLanguageAtIndex()
[all …]
DSBTypeEnumMember.cpp24 SBTypeEnumMember::SBTypeEnumMember() : m_opaque_sp() { in SBTypeEnumMember()
32 : m_opaque_sp(enum_member_sp) {} in SBTypeEnumMember()
35 : m_opaque_sp() { in SBTypeEnumMember()
39 m_opaque_sp = clone(rhs.m_opaque_sp); in SBTypeEnumMember()
48 m_opaque_sp = clone(rhs.m_opaque_sp); in operator =()
59 return m_opaque_sp.get(); in operator bool()
65 if (m_opaque_sp.get()) in GetName()
66 return m_opaque_sp->GetName().GetCString(); in GetName()
73 if (m_opaque_sp.get()) in GetValueAsSigned()
74 return m_opaque_sp->GetValueAsSigned(); in GetValueAsSigned()
[all …]
DSBTypeNameSpecifier.cpp20 SBTypeNameSpecifier::SBTypeNameSpecifier() : m_opaque_sp() { in SBTypeNameSpecifier()
25 : m_opaque_sp(new TypeNameSpecifierImpl(name, is_regex)) { in SBTypeNameSpecifier()
30 m_opaque_sp.reset(); in SBTypeNameSpecifier()
33 SBTypeNameSpecifier::SBTypeNameSpecifier(SBType type) : m_opaque_sp() { in SBTypeNameSpecifier()
37 m_opaque_sp = TypeNameSpecifierImplSP( in SBTypeNameSpecifier()
38 new TypeNameSpecifierImpl(type.m_opaque_sp->GetCompilerType(true))); in SBTypeNameSpecifier()
42 : m_opaque_sp(rhs.m_opaque_sp) { in SBTypeNameSpecifier()
56 return m_opaque_sp.get() != nullptr; in operator bool()
65 return m_opaque_sp->GetName(); in GetName()
73 lldb_private::CompilerType c_type = m_opaque_sp->GetCompilerType(); in GetType()
[all …]
DSBTypeFilter.cpp19 SBTypeFilter::SBTypeFilter() : m_opaque_sp() { in SBTypeFilter()
24 : m_opaque_sp(TypeFilterImplSP(new TypeFilterImpl(options))) { in SBTypeFilter()
29 : m_opaque_sp(rhs.m_opaque_sp) { in SBTypeFilter()
42 return m_opaque_sp.get() != nullptr; in operator bool()
49 return m_opaque_sp->GetOptions(); in GetOptions()
57 m_opaque_sp->SetOptions(value); in SetOptions()
69 description.Printf("%s\n", m_opaque_sp->GetDescription().c_str()); in GetDescription()
78 m_opaque_sp->Clear(); in Clear()
86 return m_opaque_sp->GetCount(); in GetNumberOfExpressionPaths()
95 const char *item = m_opaque_sp->GetExpressionPathAtIndex(i); in GetExpressionPathAtIndex()
[all …]
DSBTypeSummary.cpp119 SBTypeSummary::SBTypeSummary() : m_opaque_sp() { in SBTypeSummary()
191 : m_opaque_sp(rhs.m_opaque_sp) { in SBTypeSummary()
204 return m_opaque_sp.get() != nullptr; in operator bool()
213 llvm::dyn_cast<ScriptSummaryFormat>(m_opaque_sp.get())) { in IsFunctionCode()
226 llvm::dyn_cast<ScriptSummaryFormat>(m_opaque_sp.get())) { in IsFunctionName()
239 return m_opaque_sp->GetKind() == TypeSummaryImpl::Kind::eSummaryString; in IsSummaryString()
248 llvm::dyn_cast<ScriptSummaryFormat>(m_opaque_sp.get())) { in GetData()
255 llvm::dyn_cast<StringSummaryFormat>(m_opaque_sp.get())) in GetData()
265 return m_opaque_sp->GetOptions(); in GetOptions()
273 m_opaque_sp->SetOptions(value); in SetOptions()
[all …]
DSBFile.cpp19 SBFile::SBFile(FileSP file_sp) : m_opaque_sp(file_sp) { in SBFile()
25 SBFile::SBFile(const SBFile &rhs) : m_opaque_sp(rhs.m_opaque_sp) { in SBFile()
34 m_opaque_sp = rhs.m_opaque_sp; in operator =()
43 m_opaque_sp = std::make_shared<NativeFile>(file, transfer_ownership); in SBFile()
55 m_opaque_sp = in SBFile()
64 if (!m_opaque_sp) { in Read()
68 Status status = m_opaque_sp->Read(buf, num_bytes); in Read()
82 if (!m_opaque_sp) { in Write()
86 Status status = m_opaque_sp->Write(buf, num_bytes); in Write()
97 if (!m_opaque_sp) { in Flush()
[all …]
DSBInstructionList.cpp24 SBInstructionList::SBInstructionList() : m_opaque_sp() { in SBInstructionList()
29 : m_opaque_sp(rhs.m_opaque_sp) { in SBInstructionList()
41 m_opaque_sp = rhs.m_opaque_sp; in operator =()
54 return m_opaque_sp.get() != nullptr; in operator bool()
60 if (m_opaque_sp) in GetSize()
61 return m_opaque_sp->GetInstructionList().GetSize(); in GetSize()
70 if (m_opaque_sp && idx < m_opaque_sp->GetInstructionList().GetSize()) in GetInstructionAtIndex()
72 m_opaque_sp, in GetInstructionAtIndex()
73 m_opaque_sp->GetInstructionList().GetInstructionAtIndex(idx)); in GetInstructionAtIndex()
109 m_opaque_sp.reset(); in Clear()
[all …]
DSBQueue.cpp220 SBQueue::SBQueue() : m_opaque_sp(new QueueImpl()) { in SBQueue()
225 : m_opaque_sp(new QueueImpl(queue_sp)) { in SBQueue()
235 m_opaque_sp = rhs.m_opaque_sp; in SBQueue()
242 m_opaque_sp = rhs.m_opaque_sp; in operator =()
255 return m_opaque_sp->IsValid(); in operator bool()
261 m_opaque_sp->Clear(); in Clear()
265 m_opaque_sp->SetQueue(queue_sp); in SetQueue()
271 return m_opaque_sp->GetQueueID(); in GetQueueID()
277 uint32_t index_id = m_opaque_sp->GetIndexID(); in GetIndexID()
284 return m_opaque_sp->GetName(); in GetName()
[all …]
DSBBroadcaster.cpp19 SBBroadcaster::SBBroadcaster() : m_opaque_sp(), m_opaque_ptr(nullptr) { in SBBroadcaster()
24 : m_opaque_sp(new Broadcaster(nullptr, name)), m_opaque_ptr(nullptr) { in SBBroadcaster()
27 m_opaque_ptr = m_opaque_sp.get(); in SBBroadcaster()
31 : m_opaque_sp(owns ? broadcaster : nullptr), m_opaque_ptr(broadcaster) {} in SBBroadcaster()
34 : m_opaque_sp(rhs.m_opaque_sp), m_opaque_ptr(rhs.m_opaque_ptr) { in SBBroadcaster()
44 m_opaque_sp = rhs.m_opaque_sp; in operator =()
86 m_opaque_ptr->AddInitialEventsToListener(listener.m_opaque_sp, in AddInitialEventsToListener()
97 return m_opaque_ptr->AddListener(listener.m_opaque_sp, event_mask); in AddListener()
125 return m_opaque_ptr->RemoveListener(listener.m_opaque_sp, event_mask); in RemoveListener()
133 m_opaque_sp.reset(broadcaster); in reset()
[all …]
DSBThread.cpp61 SBThread::SBThread() : m_opaque_sp(new ExecutionContextRef()) { in SBThread()
66 : m_opaque_sp(new ExecutionContextRef(lldb_object_sp)) { in SBThread()
70 SBThread::SBThread(const SBThread &rhs) : m_opaque_sp() { in SBThread()
73 m_opaque_sp = clone(rhs.m_opaque_sp); in SBThread()
83 m_opaque_sp = clone(rhs.m_opaque_sp); in operator =()
96 ExecutionContext exe_ctx(m_opaque_sp.get(), lock); in GetQueue()
119 ExecutionContext exe_ctx(m_opaque_sp.get(), lock); in operator bool()
126 return m_opaque_sp->GetThreadSP().get() != nullptr; in operator bool()
135 m_opaque_sp->Clear(); in Clear()
143 ExecutionContext exe_ctx(m_opaque_sp.get(), lock); in GetStopReason()
[all …]
DSBFrame.cpp57 SBFrame::SBFrame() : m_opaque_sp(new ExecutionContextRef()) { in SBFrame()
62 : m_opaque_sp(new ExecutionContextRef(lldb_object_sp)) { in SBFrame()
67 SBFrame::SBFrame(const SBFrame &rhs) : m_opaque_sp() { in SBFrame()
70 m_opaque_sp = clone(rhs.m_opaque_sp); in SBFrame()
80 m_opaque_sp = clone(rhs.m_opaque_sp); in operator =()
85 return (m_opaque_sp ? m_opaque_sp->GetFrameSP() : StackFrameSP()); in GetFrameSP()
89 return m_opaque_sp->SetFrameSP(lldb_object_sp); in SetFrameSP()
100 ExecutionContext exe_ctx(m_opaque_sp.get(), lock); in operator bool()
120 ExecutionContext exe_ctx(m_opaque_sp.get(), lock); in GetSymbolContext()
143 ExecutionContext exe_ctx(m_opaque_sp.get(), lock); in GetModule()
[all …]
DSBInstruction.cpp69 SBInstruction::SBInstruction() : m_opaque_sp() { in SBInstruction()
75 : m_opaque_sp(new InstructionImpl(disasm_sp, inst_sp)) {} in SBInstruction()
78 : m_opaque_sp(rhs.m_opaque_sp) { in SBInstruction()
88 m_opaque_sp = rhs.m_opaque_sp; in operator =()
101 return m_opaque_sp && m_opaque_sp->IsValid(); in operator bool()
226 if (m_opaque_sp) in GetOpaque()
227 return m_opaque_sp->GetSP(); in GetOpaque()
234 m_opaque_sp = std::make_shared<InstructionImpl>(disasm_sp, inst_sp); in SetOpaque()
267 Print(out.m_opaque_sp); in Print()
335 if (!m_opaque_sp) in TestEmulation()
DSBModule.cpp32 SBModule::SBModule() : m_opaque_sp() { in SBModule()
36 SBModule::SBModule(const lldb::ModuleSP &module_sp) : m_opaque_sp(module_sp) {} in SBModule()
38 SBModule::SBModule(const SBModuleSpec &module_spec) : m_opaque_sp() { in SBModule()
48 SBModule::SBModule(const SBModule &rhs) : m_opaque_sp(rhs.m_opaque_sp) { in SBModule()
53 : m_opaque_sp() { in SBModule()
59 m_opaque_sp = process_sp->ReadModuleFromMemory(FileSpec(), header_addr); in SBModule()
60 if (m_opaque_sp) { in SBModule()
63 m_opaque_sp->SetLoadAddress(target, 0, true, changed); in SBModule()
64 target.GetImages().Append(m_opaque_sp); in SBModule()
74 m_opaque_sp = rhs.m_opaque_sp; in operator =()
[all …]
DSBValue.cpp218 SBValue::SBValue() : m_opaque_sp() { LLDB_RECORD_CONSTRUCTOR_NO_ARGS(SBValue); } in SBValue()
229 SetSP(rhs.m_opaque_sp); in SBValue()
237 SetSP(rhs.m_opaque_sp); in operator =()
254 return m_opaque_sp.get() != nullptr && m_opaque_sp->IsValid() && in operator bool()
255 m_opaque_sp->GetRootSP().get() != nullptr; in operator bool()
261 m_opaque_sp.reset(); in Clear()
678 if (m_opaque_sp) in GetChildAtIndex()
679 target_sp = m_opaque_sp->GetTargetSP(); in GetChildAtIndex()
732 if (m_opaque_sp) in GetChildMemberWithName()
733 target_sp = m_opaque_sp->GetTargetSP(); in GetChildMemberWithName()
[all …]

123