aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2025-09-12 11:10:57 +0100
committerGitHub <noreply@github.com>2025-09-12 04:10:57 -0600
commit8457e68b6b59f8daf5fb747fe3a2f9c48c3c3ba8 (patch)
treea0334d0dbb9657ef3df8ce90097e58224659cfe7 /llvm/lib/CodeGen/MachineInstr.cpp
parent77596b78e5664fff8d272599c0420fc9b87e2c2d (diff)
downloadllvm-8457e68b6b59f8daf5fb747fe3a2f9c48c3c3ba8.zip
llvm-8457e68b6b59f8daf5fb747fe3a2f9c48c3c3ba8.tar.gz
llvm-8457e68b6b59f8daf5fb747fe3a2f9c48c3c3ba8.tar.bz2
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>
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions