From e5ffa089cc88fc730b005d1dba9cb57857a9ba66 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Wed, 23 Sep 2015 19:32:56 +0000 Subject: Revert 248366 "Testcase and fix for bug 24074" This commit introduced regressions in several test cases on FreeBSD and Mac OS X llvm-svn: 248421 --- lldb/source/Commands/CommandObjectTarget.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/source/Commands/CommandObjectTarget.cpp') diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp index d433f67..715a713 100644 --- a/lldb/source/Commands/CommandObjectTarget.cpp +++ b/lldb/source/Commands/CommandObjectTarget.cpp @@ -1918,6 +1918,7 @@ 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) { -- cgit v1.1