commit | 0449732e5d4a768db43e12e6ce73b4bbd130cb9c | [log] [tgz] |
---|---|---|
author | Mehdi Amini <joker.eph@gmail.com> | Thu Sep 11 12:48:17 2025 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Sep 11 04:50:12 2025 -0700 |
tree | 5b70c54ea00061a7d20c5d880a53627d297637f0 | |
parent | 96bcad23f2733f3f1b48ad6d651bea4c44059964 [diff] |
Introduce LDBG_OS() macro as a variant of LDBG() (#157194) 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> GitOrigin-RevId: c84f34bcd8c7fb6d5038b3f52da8c7be64ad5189
See https://mlir.llvm.org/ for more information.