[all-commits] [llvm/llvm-project] 8457e6: Introduce LDBG_OS() macro as a variant of LDBG() (...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Fri Sep 12 03:11:18 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8457e68b6b59f8daf5fb747fe3a2f9c48c3c3ba8
https://github.com/llvm/llvm-project/commit/8457e68b6b59f8daf5fb747fe3a2f9c48c3c3ba8
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2025-09-12 (Fri, 12 Sep 2025)
Changed paths:
M llvm/include/llvm/Support/Debug.h
M llvm/include/llvm/Support/DebugLog.h
M llvm/unittests/Support/DebugLogTest.cpp
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
Log Message:
-----------
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 at gmail.com>
Co-authored-by: Andrzej Warzyński <andrzej.warzynski at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list