Remove unnecessary #include.

llvm-svn: 146717
This commit is contained in:
Jim Ingham 2011-12-16 00:46:12 +00:00
parent e7e8af807a
commit 30b74fa886
2 changed files with 1 additions and 5 deletions

View File

@ -27,7 +27,6 @@
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Target/StopInfo.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"

View File

@ -33,7 +33,6 @@
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Target/StopInfo.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
@ -299,15 +298,13 @@ AppleObjCRuntimeV2::GetDynamicTypeAndAddress (ValueObject &in_value,
{
if (sc.symbol->GetType() == eSymbolTypeObjCClass)
class_name = sc.symbol->GetName().GetCString();
else
return false;
}
}
}
}
char class_buffer[1024];
if (class_name == NULL && use_dynamic != eDynamicDontRunTarget)
if (class_name == NULL && use_dynamic == eDynamicCanRunTarget)
{
// If the class address didn't point into the binary, or
// it points into the right section but there wasn't a symbol