aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectTarget.cpp
diff options
context:
space:
mode:
authorRavitheja Addepally <ravitheja.addepally@intel.com>2015-09-23 07:19:02 +0000
committerRavitheja Addepally <ravitheja.addepally@intel.com>2015-09-23 07:19:02 +0000
commit9fcf72ef9bdc047a7ab24d0fc00604cddbd5ddf5 (patch)
treeeecb4acac1c4095165b1faa35558496751a3c99b /lldb/source/Commands/CommandObjectTarget.cpp
parent77b94d4416cb24ea70693dfed7f8e54901ab9854 (diff)
downloadllvm-9fcf72ef9bdc047a7ab24d0fc00604cddbd5ddf5.zip
llvm-9fcf72ef9bdc047a7ab24d0fc00604cddbd5ddf5.tar.gz
llvm-9fcf72ef9bdc047a7ab24d0fc00604cddbd5ddf5.tar.bz2
Testcase and fix for bug 24074
Summary: In bug 24074, the type information is not shown correctly. This commit includes the following - -> Changes for displaying correct type based on current lexical scope for the command "image lookup -t" -> The corresponding testcase. Reviewers: jingham, ovyalov, spyffe, richard.mitton, clayborg Differential Revision: http://reviews.llvm.org/D12404 llvm-svn: 248366
Diffstat (limited to 'lldb/source/Commands/CommandObjectTarget.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectTarget.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp
index 715a713..d433f67 100644
--- a/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/lldb/source/Commands/CommandObjectTarget.cpp
@@ -1918,7 +1918,6 @@ LookupTypeHere (CommandInterpreter &interpreter,
strm.PutCString("Best match found in ");
DumpFullpath (strm, &sym_ctx.module_sp->GetFileSpec(), 0);
strm.PutCString(":\n");
-
TypeSP type_sp (type_list.GetTypeAtIndex(0));
if (type_sp)
{