summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-03-20 06:08:21 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-03-20 06:08:21 +0000
commit2643b9053e2fff0247fb57716f20a00ca5b1abe9 (patch)
tree39a92510732182642f479d6d0510b4d9af30bdfb
parent2766ad27e867c40378f2e5c18094594aa112b7b4 (diff)
downloadbcm5719-llvm-2643b9053e2fff0247fb57716f20a00ca5b1abe9.tar.gz
bcm5719-llvm-2643b9053e2fff0247fb57716f20a00ca5b1abe9.zip
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. llvm-svn: 204309
-rw-r--r--lldb/source/Core/Debugger.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index 51a4aaa08ad..e596fc23b50 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -1089,6 +1089,7 @@ Debugger::FindDebuggerWithID (lldb::user_id_t id)
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,
OpenPOWER on IntegriCloud