Module cretonne_codegen::dbg[][src]

Debug tracing macros.

This module defines the dbg! macro which works like println! except it writes to the Cretonne tracing output file if enabled.

Tracing can be enabled by setting the CRETONNE_DBG environment variable to something

Structs

DisplayList

Helper for printing lists.

Functions

enabled

Is debug tracing enabled?

writeln_with_format_args

Write a line with the given format arguments.