Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
llvm-epi-0.8
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Roger Ferrer
llvm-epi-0.8
Commits
584745a6
Commit
584745a6
authored
12 years ago
by
Jim Ingham
Browse files
Options
Downloads
Patches
Plain Diff
Added a few more summaries I find useful for lldb.
llvm-svn: 160909
parent
1b72bf04
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lldb/examples/summaries/lldb
+27
-14
27 additions, 14 deletions
lldb/examples/summaries/lldb
with
27 additions
and
14 deletions
lldb/examples/summaries/lldb
+
27
−
14
View file @
584745a6
type summary add -w lldb lldb_private::Error -s "Type: ${var.m_type%E}, Code: ${var.m_code}, Message: ${var.m_string}"
type summary add -w lldb lldb_private::ConstString -s "${var.m_string}"
type summary add -w lldb lldb_private::Language -s "${var.m_language%E}"
type summary add -w lldb lldb_private::RegularExpression -s "${var.m_re}"
type summary add -w lldb lldb_private::UserID -s "UserID(${var.m_uid})"
type summary add -w lldb lldb_private::ValueObject -s "${var.m_name}"
type summary add -w lldb lldb_private::ValueObjectSP -s "${var.ptr_.m_name}"
type summary add -w lldb lldb_private::ValueObjectRegister -s "${var.m_reg_info.name}"
type summary add -w lldb lldb_private::ClangExpression -s "{${var.m_expr_text}}"
type summary add -w lldb lldb_private::CommandObject -s "Command name: ${var.m_cmd_name}"
type summary add -w lldb lldb_private::Variable -s "${var.m_type.m_name} ${var.m_name}"
type summary add -w lldb lldb_private::StopInfo -s "ID: ${var.m_stop_id}, ${var.m_description}"
type summary add -w lldb lldb_private::FileSpec -s "file: ${var.m_filename} dir: ${var.m_directory}"
type summary add -w lldb
-v
lldb::ConnectionStatus -s "[enum=${var%E} val=${var%i}]"
type summary add -w lldb lldb_private::Error
-s "Type: ${var.m_type%E}, Code: ${var.m_code}, Message: ${var.m_string}"
type summary add -w lldb lldb_private::ConstString
-s "${var.m_string}"
type summary add -w lldb lldb_private::Language
-s "${var.m_language%E}"
type summary add -w lldb lldb_private::RegularExpression
-s "${var.m_re}"
type summary add -w lldb lldb_private::UserID
-s "UserID(${var.m_uid})"
type summary add -w lldb lldb_private::ValueObject
-s "${var.m_name}"
type summary add -w lldb lldb_private::ValueObjectSP
-s "${var.ptr_.m_name}"
type summary add -w lldb lldb_private::ValueObjectRegister
-s "${var.m_reg_info.name}"
type summary add -w lldb lldb_private::ClangExpression
-s "{${var.m_expr_text}}"
type summary add -w lldb lldb_private::CommandObject
-s "Command name: ${var.m_cmd_name}"
type summary add -w lldb lldb_private::Variable
-s "${var.m_type.m_name} ${var.m_name}"
type summary add -w lldb lldb_private::StopInfo
-s "ID: ${var.m_stop_id}, ${var.m_description}"
type summary add -w lldb lldb_private::FileSpec
-s "file: ${var.m_filename
%S
} dir: ${var.m_directory
%S
}"
type summary add -w
-v
lldb lldb::ConnectionStatus
-s "[enum=${var%E} val=${var%i}]"
# Where '-v' tells type summary not to show the value itself, but just use the summary format.
type summary add -w lldb "lldb_private::ThreadSafeValue<lldb::StateType>" -s "${var.m_value}"
type summary add -w lldb lldb_private::CompileUnit -s "file: ${var.m_filename%S} dir: ${var.m_directory%S}"
type summary add -w lldb "lldb_private::Module" -s "${var.m_file%S}"
type summary add -w lldb "lldb_private::ModuleSpec" -s "${var.m_file%S}"
type summary add -w lldb "lldb_private::ModuleList" -s "${var.m_modules%S}"
type summary add -w lldb "lldb::ModuleSP" -s "${var._M_ptr%S}"
type summary add -w lldb "lldb_private::Process" -s "Public: ${var.m_public_state%S} Private: ${var.m_private_state%S}"
type summary add -w lldb "DynamicLoaderMacOSXDYLD::DYLDImageInfo" -s "${var.file_spec%S}"
type format add -f x lldb::addr_t
type category enable lldb
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment