aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectArgs.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-08-03 00:35:52 +0000
committerGreg Clayton <gclayton@apple.com>2010-08-03 00:35:52 +0000
commitb0b9fe610ac7d69064b944217c925483ee217d0a (patch)
tree365a8561e3e74197266be4ccab284e5e125e7061 /lldb/source/Commands/CommandObjectArgs.cpp
parent4cf04d209b5b9eab0f0748afc1e0e72ae6510c2d (diff)
downloadllvm-b0b9fe610ac7d69064b944217c925483ee217d0a.zip
llvm-b0b9fe610ac7d69064b944217c925483ee217d0a.tar.gz
llvm-b0b9fe610ac7d69064b944217c925483ee217d0a.tar.bz2
Added support for objective C built-in types: id, Class, and SEL. This
involved watching for the objective C built-in types in DWARF and making sure when we convert the DWARF types into clang types that we use the appropriate ASTContext types. Added a way to find and dump types in lldb (something equivalent to gdb's "ptype" command): image lookup --type <TYPENAME> This only works for looking up types by name and won't work with variables. It also currently dumps out verbose internal information. I will modify it to dump more appropriate user level info in my next submission. Hookup up the "FindTypes()" functions in the SymbolFile and SymbolVendor so we can lookup types by name in one or more images. Fixed "image lookup --address <ADDRESS>" to be able to correctly show all symbol context information, but it will only show this extra information when the new "--verbose" flag is used. Updated to latest LLVM to get a few needed fixes. llvm-svn: 110089
Diffstat (limited to 'lldb/source/Commands/CommandObjectArgs.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectArgs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectArgs.cpp b/lldb/source/Commands/CommandObjectArgs.cpp
index 74a7d2b..a7169c5 100644
--- a/lldb/source/Commands/CommandObjectArgs.cpp
+++ b/lldb/source/Commands/CommandObjectArgs.cpp
@@ -232,7 +232,7 @@ CommandObjectArgs::Execute
else if (strchr (arg_type_cstr, '*'))
{
if (!strcmp (arg_type_cstr, "void*"))
- type = ast_context.CreatePointerType (ast_context.GetVoidBuiltInType ());
+ type = ast_context.CreatePointerType (ast_context.GetBuiltInType_void ());
else if (!strcmp (arg_type_cstr, "char*"))
type = ast_context.GetCStringType (false);
else