A couple of small fixes to make core file debugging less noisy.
Don't want about being unable to find a needed objective-c runtime
function when we're core file debugging and can't jit anything
anyway.  Don't warn when quitting a debug session on a core file,
the program state can be reconstructed by re-running lldb on the
same core file again.

llvm-svn: 181653
diff --git a/lldb/source/Commands/CommandObjectQuit.cpp b/lldb/source/Commands/CommandObjectQuit.cpp
index c4c09e8..d04ecdd 100644
--- a/lldb/source/Commands/CommandObjectQuit.cpp
+++ b/lldb/source/Commands/CommandObjectQuit.cpp
@@ -60,9 +60,10 @@
             if (!target_sp)
                 continue;
             ProcessSP process_sp(target_sp->GetProcessSP());
-            if (process_sp &&
-                process_sp->IsValid() &&
-                process_sp->IsAlive())
+            if (process_sp
+                && process_sp->IsValid()
+                && process_sp->IsAlive()
+                && process_sp->WarnBeforeDetach())
             {
                 should_prompt = true;
                 if (process_sp->GetShouldDetach() == false)