[all-commits] [llvm/llvm-project] dcf18e: [debugserver] Initialize logging earlier in the st...
Alex via All-commits
all-commits at lists.llvm.org
Wed Feb 15 16:36:08 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dcf18e4757b2bc2410031e7b69082117d540a1d6
https://github.com/llvm/llvm-project/commit/dcf18e4757b2bc2410031e7b69082117d540a1d6
Author: Alex Langford <alangford at apple.com>
Date: 2023-02-15 (Wed, 15 Feb 2023)
Changed paths:
M lldb/tools/debugserver/source/debugserver.cpp
Log Message:
-----------
[debugserver] Initialize logging earlier in the startup sequence
Prior to setting up logging, we have uses of RNBLogSTDERR and
RNBLogSTDOUT. These macros will dump to STDERR and STDOUT respectively
if debugserver has a tty. Otherwise, it uses _DNBLog, which will do
nothing if a logging function hasn't been set up. For example, if you
specify a log file that cannot be opened for any reason and you don't
have a tty, you have 0 insight into what happened.
rdar://105473133
Differential Revision: https://reviews.llvm.org/D144142
More information about the All-commits
mailing list