diff options
| author | Ravitheja Addepally <ravitheja.addepally@intel.com> | 2015-09-23 07:19:02 +0000 |
|---|---|---|
| committer | Ravitheja Addepally <ravitheja.addepally@intel.com> | 2015-09-23 07:19:02 +0000 |
| commit | 9fcf72ef9bdc047a7ab24d0fc00604cddbd5ddf5 (patch) | |
| tree | eecb4acac1c4095165b1faa35558496751a3c99b /lldb/source/Commands | |
| parent | 77b94d4416cb24ea70693dfed7f8e54901ab9854 (diff) | |
| download | bcm5719-llvm-9fcf72ef9bdc047a7ab24d0fc00604cddbd5ddf5.tar.gz bcm5719-llvm-9fcf72ef9bdc047a7ab24d0fc00604cddbd5ddf5.zip | |
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')
| -rw-r--r-- | lldb/source/Commands/CommandObjectTarget.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp index 715a713de3d..d433f673b33 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) { |

