Home
last modified time | relevance | path

Searched refs:FormatEntity (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/lldb/unittests/Core/
H A DFormatEntityTest.cpp17 using Definition = FormatEntity::Entry::Definition;
18 using Entry = FormatEntity::Entry;
21 Definition d("foo", FormatEntity::Entry::Type::Invalid); in TEST()
25 EXPECT_EQ(d.type, FormatEntity::Entry::Type::Invalid); in TEST()
37 EXPECT_EQ(d.type, FormatEntity::Entry::Type::EscapeCode); in TEST()
45 Definition d("foo", FormatEntity::Entry::Type::Invalid, 33); in TEST()
49 EXPECT_EQ(d.type, FormatEntity::Entry::Type::Invalid); in TEST()
57 Definition d("foo", FormatEntity::Entry::Type::Invalid, 33); in TEST()
61 EXPECT_EQ(parent.type, FormatEntity::Entry::Type::Invalid); in TEST()
153 TEST(FormatEntity, LookupAllEntriesInTree) { in TEST() argument
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Interpreter/
H A DOptionValueFormatEntity.h42 FormatEntity::Entry &GetCurrentValue() { return m_current_entry; } in GetCurrentValue()
44 const FormatEntity::Entry &GetCurrentValue() const { return m_current_entry; } in GetCurrentValue()
46 void SetCurrentValue(const FormatEntity::Entry &value) { in SetCurrentValue()
50 FormatEntity::Entry &GetDefaultValue() { return m_default_entry; } in GetDefaultValue()
52 const FormatEntity::Entry &GetDefaultValue() const { return m_default_entry; } in GetDefaultValue()
57 FormatEntity::Entry m_current_entry;
58 FormatEntity::Entry m_default_entry;
H A DOptionValueProperties.h143 const FormatEntity::Entry *
H A DOptionValue.h282 const FormatEntity::Entry *GetFormatEntity() const;
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DOptionValueFormatEntity.cpp21 Status error = FormatEntity::Parse(default_format_str, m_default_entry); in OptionValueFormatEntity()
91 FormatEntity::Entry entry; in SetValueFromString()
92 error = FormatEntity::Parse(value_str, entry); in SetValueFromString()
114 FormatEntity::AutoComplete(request); in AutoComplete()
H A DOptionValue.cpp378 const FormatEntity::Entry *OptionValue::GetFormatEntity() const { in GetFormatEntity()
H A DOptionValueProperties.cpp345 const FormatEntity::Entry *
/llvm-project-15.0.7/lldb/source/Core/
H A DFormatEntity.cpp82 using Entry = FormatEntity::Entry;
83 using EntryType = FormatEntity::Entry::Type;
264 FormatEntity::Entry::Entry(llvm::StringRef s) in Entry()
268 FormatEntity::Entry::Entry(char ch) in Entry()
271 void FormatEntity::Entry::AppendChar(char ch) { in AppendChar()
688 case FormatEntity::Entry::Type::ScriptVariable: in DumpValue()
692 case FormatEntity::Entry::Type::Variable: in DumpValue()
968 success &= FormatEntity::FormatStringRef( in DumpValue()
1005 const FormatEntity::Entry &entry, in FormatThreadExtendedInfoRecurse()
1052 FormatEntity::Entry root; in FormatStringRef()
[all …]
H A DDisassembler.cpp305 const FormatEntity::Entry *disassembly_format = nullptr; in PrintInstructions()
306 FormatEntity::Entry format; in PrintInstructions()
311 FormatEntity::Parse("${addr}: ", format); in PrintInstructions()
611 const FormatEntity::Entry *disassembly_addr_format, in Dump()
1001 const FormatEntity::Entry *disassembly_format = nullptr; in Dump()
1002 FormatEntity::Entry format; in Dump()
1007 FormatEntity::Parse("${addr}: ", format); in Dump()
H A DCoreProperties.td47 def DisassemblyFormat: Property<"disassembly-format", "FormatEntity">,
51 def FrameFormat: Property<"frame-format", "FormatEntity">,
122 def ThreadFormat: Property<"thread-format", "FormatEntity">,
126 def ThreadStopFormat: Property<"thread-stop-format", "FormatEntity">,
174 def FrameFormatUnique: Property<"frame-format-unique", "FormatEntity">,
H A DDebugger.cpp259 const FormatEntity::Entry *Debugger::GetDisassemblyFormat() const { in GetDisassemblyFormat()
264 const FormatEntity::Entry *Debugger::GetFrameFormat() const { in GetFrameFormat()
269 const FormatEntity::Entry *Debugger::GetFrameFormatUnique() const { in GetFrameFormatUnique()
308 const FormatEntity::Entry *Debugger::GetThreadFormat() const { in GetThreadFormat()
313 const FormatEntity::Entry *Debugger::GetThreadStopFormat() const { in GetThreadStopFormat()
1247 bool Debugger::FormatDisassemblerAddress(const FormatEntity::Entry *format, in FormatDisassemblerAddress()
1252 FormatEntity::Entry format_entry; in FormatDisassemblerAddress()
1258 FormatEntity::Parse("${addr}: ", format_entry); in FormatDisassemblerAddress()
1285 return FormatEntity::Format(*format, s, sc, exe_ctx, addr, nullptr, in FormatDisassemblerAddress()
H A DCMakeLists.txt39 FormatEntity.cpp
H A DIOHandlerCursesGUI.cpp5019 FormatEntity::Parse( in FrameTreeDelegate()
5035 if (FormatEntity::Format(m_format, strm, &sc, &exe_ctx, nullptr, in TreeDelegateDrawTreeItem()
5061 FormatEntity::Entry m_format;
5068 FormatEntity::Parse("thread #${thread.index}: tid = ${thread.id}{, stop " in ThreadTreeDelegate()
5093 if (FormatEntity::Format(m_format, strm, nullptr, &exe_ctx, nullptr, in TreeDelegateDrawTreeItem()
5158 FormatEntity::Entry m_format;
5165 FormatEntity::Parse("process ${process.id}{, name = ${process.name}}", in ThreadsTreeDelegate()
5193 if (FormatEntity::Format(m_format, strm, nullptr, &exe_ctx, nullptr, in TreeDelegateDrawTreeItem()
5276 FormatEntity::Entry m_format;
6706 FormatEntity::Parse("Thread: ${thread.id%tid}", m_format); in StatusBarWindowDelegate()
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DFormatEntity.h38 class FormatEntity {
123 constexpr Definition(const char *name, const FormatEntity::Entry::Type t) in Definition()
129 constexpr Definition(const char *name, const FormatEntity::Entry::Type t, in Definition()
133 constexpr Definition(const char *name, const FormatEntity::Entry::Type t,
143 DefinitionWithChildren(const char *name, const FormatEntity::Entry::Type t,
H A DDebugger.h122 static bool FormatDisassemblerAddress(const FormatEntity::Entry *format,
267 const FormatEntity::Entry *GetDisassemblyFormat() const;
269 const FormatEntity::Entry *GetFrameFormat() const;
271 const FormatEntity::Entry *GetFrameFormatUnique() const;
275 const FormatEntity::Entry *GetThreadFormat() const;
277 const FormatEntity::Entry *GetThreadStopFormat() const;
H A DDisassembler.h159 const FormatEntity::Entry *disassembly_addr_format,
/llvm-project-15.0.7/lldb/source/API/
H A DSBInstruction.cpp242 FormatEntity::Entry format; in GetDescription()
243 FormatEntity::Parse("${addr}: ", format); in GetDescription()
277 FormatEntity::Entry format; in Print()
278 FormatEntity::Parse("${addr}: ", format); in Print()
H A DSBInstructionList.cpp150 FormatEntity::Entry format; in GetDescription()
151 FormatEntity::Parse("${addr}: ", format); in GetDescription()
/llvm-project-15.0.7/lldb/source/DataFormatters/
H A DTypeSummary.cpp61 m_error = FormatEntity::Parse(format_cstr, m_format); in SetSummaryString()
88 if (FormatEntity::Format(m_format, s, &sc, &exe_ctx, in FormatObject()
/llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/Core/
H A DBUILD.gn61 "FormatEntity.cpp",
/llvm-project-15.0.7/lldb/source/Target/
H A DThreadPlanTracer.cpp176 const FormatEntity::Entry *disassemble_format = in Log()
H A DStackFrame.cpp1785 const FormatEntity::Entry *frame_format = nullptr; in DumpUsingSettingsFormat()
1794 if (frame_format && FormatEntity::Format(*frame_format, s, &m_sc, &exe_ctx, in DumpUsingSettingsFormat()
H A DThread.cpp1611 const FormatEntity::Entry *thread_format; in DumpUsingSettingsFormat()
1619 FormatEntity::Format(*thread_format, strm, frame_sp ? &frame_sc : nullptr, in DumpUsingSettingsFormat()
/llvm-project-15.0.7/lldb/source/Plugins/UnwindAssembly/InstEmulation/
H A DUnwindAssemblyInstEmulation.cpp245 lldb_private::FormatEntity::Entry format; in GetNonCallSiteUnwindPlanFromAssembly()
246 FormatEntity::Parse("${frame.pc}: ", format); in GetNonCallSiteUnwindPlanFromAssembly()
/llvm-project-15.0.7/lldb/include/lldb/DataFormatters/
H A DTypeSummary.h280 FormatEntity::Entry m_format;

12