[llvm] [mlir] Default DEBUG_TYPE to the current filename for logging (PR #158494)

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 15 08:18:49 PDT 2025


================
@@ -1180,7 +1181,7 @@ The debug output can be enabled by passing the ``-debug`` command line argument.
   $ opt < a.bc > /dev/null -mypass
   <no output>
   $ opt < a.bc > /dev/null -mypass -debug
-  [my-pass:2] MyPass.cpp:123 I am here!
+  [2 my-pass MyPass.cpp:123 I am here!
----------------
joker-eph wrote:

Indeed! thanks for spotting.

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


More information about the llvm-commits mailing list