macro_rules! pass_log {
($lvl:ident, $($arg:tt)+) => { ... };
}Expand description
Log a message attributed to the current pass: the log target is the pass
name (so RUST_LOG=mem2reg=debug filters per pass) and the message is
prefixed with it.
Level conventions: debug = what the pass did, trace = per-instruction
detail, warn = suspicious but continuing; info is reserved for the
pipeline driver.
ⓘ
pass_log!(debug, "promoted {} stack slots", n);