[Lldb-commits] [lldb] r204309 - Core: preprocess out TestPromptFormats
Saleem Abdulrasool
compnerd at compnerd.org
Wed Mar 19 23:08:21 PDT 2014
Author: compnerd
Date: Thu Mar 20 01:08:21 2014
New Revision: 204309
URL: http://llvm.org/viewvc/llvm-project?rev=204309&view=rev
Log:
Core: preprocess out TestPromptFormats
TestPromptFormats appears as though it may be a useful unit test.
Unfortunately, there is no invocation mechanism in place right now. It is
unclear how to add a unit test for this scenario to the existing tests. It
would be ideal to remove this entirely, but I am hopeful that this can/will be
pulled out into a test still since it uses a user accessible interface.
Modified:
lldb/trunk/source/Core/Debugger.cpp
Modified: lldb/trunk/source/Core/Debugger.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Debugger.cpp?rev=204309&r1=204308&r2=204309&view=diff
==============================================================================
--- lldb/trunk/source/Core/Debugger.cpp (original)
+++ lldb/trunk/source/Core/Debugger.cpp Thu Mar 20 01:08:21 2014
@@ -1089,6 +1089,7 @@ Debugger::FindDebuggerWithID (lldb::user
return debugger_sp;
}
+#if 0
static void
TestPromptFormats (StackFrame *frame)
{
@@ -1149,6 +1150,7 @@ TestPromptFormats (StackFrame *frame)
printf ("what we got: %s\n", s.GetData());
}
}
+#endif
static bool
ScanFormatDescriptor (const char* var_name_begin,
More information about the lldb-commits
mailing list