[llvm] [mlir] Default DEBUG_TYPE to the current filename for logging (PR #158494)
    Jacques Pienaar via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Sep 15 08:05:33 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!
----------------
jpienaar wrote:
I think the examples maybe out of date.
https://github.com/llvm/llvm-project/pull/158494
    
    
More information about the llvm-commits
mailing list