summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandObject.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-03-20 04:57:14 +0000
committerGreg Clayton <gclayton@apple.com>2011-03-20 04:57:14 +0000
commit7a5388bf755acf4b56368758194984750af86ddb (patch)
treec02331b4f156f238241041a7bae8668d338d79c9 /lldb/source/Interpreter/CommandObject.cpp
parent76c90c65e242ed7207f2154cb94f8f16b095c83f (diff)
downloadbcm5719-llvm-7a5388bf755acf4b56368758194984750af86ddb.tar.gz
bcm5719-llvm-7a5388bf755acf4b56368758194984750af86ddb.zip
Split all of the core of LLDB.framework/lldb.so into a
static archive that can be linked against. LLDB.framework/lldb.so exports a very controlled API. Splitting the API into a static library allows other tools (debugserver for now) to use the power of the LLDB debugger core, yet not export it as its API is not portable or maintainable. The Host layer and many of the other internal only APIs can now be statically linked against. Now LLDB.framework/lldb.so links against "liblldb-core.a" instead of compiling the .o files only for the shared library. This fix is only for compiling with Xcode as the Makefile based build already does this. The Xcode projecdt compiler has been changed to LLVM. Anyone using Xcode 3 will need to manually change the compiler back to GCC 4.2, or update to Xcode 4. llvm-svn: 127963
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
-rw-r--r--lldb/source/Interpreter/CommandObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp
index c4a0950790a..6503e29d5e6 100644
--- a/lldb/source/Interpreter/CommandObject.cpp
+++ b/lldb/source/Interpreter/CommandObject.cpp
@@ -232,7 +232,7 @@ CommandObject::ExecuteWithOptions (Args& args, CommandReturnObject &result)
switch (state)
{
-
+ case eStateInvalid:
case eStateSuspended:
case eStateCrashed:
case eStateStopped:
OpenPOWER on IntegriCloud