summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/posix/ProcessLauncherPosixFork.cpp')
-rw-r--r--lldb/source/Host/posix/ProcessLauncherPosixFork.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp b/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp
index fb235d70f8e..ac1d9011c2b 100644
--- a/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp
+++ b/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp
@@ -95,10 +95,6 @@ static void DupDescriptor(int error_fd, const FileSpec &file_spec, int fd,
static void LLVM_ATTRIBUTE_NORETURN ChildFunc(int error_fd,
const ProcessLaunchInfo &info) {
- // First, make sure we disable all logging. If we are logging to stdout, our
- // logs can be mistaken for inferior output.
- Log::DisableAllLogChannels();
-
// Do not inherit setgid powers.
if (setgid(getgid()) != 0)
ExitWithError(error_fd, "setgid");
OpenPOWER on IntegriCloud