llvm-project
8457e68b - Introduce LDBG_OS() macro as a variant of LDBG() (#157194) (#158260)

Commit
56 days ago
Introduce LDBG_OS() macro as a variant of LDBG() (#157194) (#158260) Also, improve LDBG() to accept debug type and level in any order, and add unit-tests for LDBG() and LGDB_OS(). LDBG_OS() is a macro that behaves like LDBG() but instead of directly using it to stream the output, it takes a callback function that will be called with a raw_ostream. Co-authored-by: Andrzej Warzyński <andrzej.warzynski@gmail.com> Co-authored-by: Andrzej Warzyński <andrzej.warzynski@gmail.com>
Author
Parents
Loading