This macro expands to the stream to use for output, we use a macro to allow unit-testing to override.
Declared in <llvm/Support/DebugLog.h>
<llvm/Support/DebugLog.h>
#define LDBG_STREAM