[Lldb-commits] [lldb] [lldb][windows] force the console to use a UTF-8 codepage (PR #149493)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 18 08:37:34 PDT 2025
Nerixyz wrote:
> I can't find where a `Stream` actually gets "printed" to the stdout.
A `NativeFile` stream is used, which is created [here](https://github.com/llvm/llvm-project/blob/a676ecd83fad9b04d315c4e667742d25679cbc9f/lldb/source/Core/Debugger.cpp#L967-L970).
> [2b8c692](https://github.com/llvm/llvm-project/commit/2b8c69204b1d37d91cc775d51af50df7f478cecd) does not look like such big of a change, is `lldb`'s mechanism for printing so different from `clang`'s?
I agree, that would probably be of a similar size here (i.e. check for the file handle and call the windows impl if needed).
https://github.com/llvm/llvm-project/pull/149493
More information about the lldb-commits
mailing list