[llvm] Introduce LDBG_OS() macro as a variant of LDBG() (PR #157194)

Andrzej WarzyƄski via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 8 02:43:34 PDT 2025


================
@@ -128,6 +128,131 @@ TEST(DebugLogTest, DestructorPrefix) {
   // After destructors, nothing should have been printed.
   EXPECT_EQ(os.str(), "");
 }
+
+TEST(DebugLogTest, LDBG_MACROS) {
----------------
banach-space wrote:

I would split this into multiple smaller test functions. That shouldn't impact test coverage, but would definitely make triaging any potential failures easier :)

https://github.com/llvm/llvm-project/pull/157194


More information about the llvm-commits mailing list