<varlistentry>
<term>
+ <option>-ddump-splices</option>:
+ <indexterm><primary><option>-ddump-splices</option></primary></indexterm>
+ </term>
+ <listitem>
+ <para>Dump Template Haskell expressions that we splice in,
+ and what Haskell code the expression evaluates to.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
<option>-ddump-types</option>:
<indexterm><primary><option>-ddump-types</option></primary></indexterm>
</term>
<varlistentry>
<term>
+ <option>-ddump-prep</option>:
+ <indexterm><primary><option>-ddump-prep</option></primary></indexterm>
+ </term>
+ <listitem>
+ <para>output of core preparation pass</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
<option>-ddump-stg</option>:
<indexterm><primary><option>-ddump-stg</option></primary></indexterm>
</term>
<varlistentry>
<term>
+ <option>-ddump-cmm</option>:
+ <indexterm><primary><option>-ddump-cmm</option></primary></indexterm>
+ </term>
+ <listitem>
+ <para>Print the C-- code out.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
+ <option>-ddump-opt-cmm</option>:
+ <indexterm><primary><option>-ddump-opt-cmm</option></primary></indexterm>
+ </term>
+ <listitem>
+ <para>Dump the results of C-- to C-- optimising passes.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
<option>-ddump-asm</option>:
<indexterm><primary><option>-ddump-asm</option></primary></indexterm>
</term>
<varlistentry>
<term>
+ <option>-ddump-if-trace</option>
+ <indexterm><primary><option>-ddump-if-trace</option></primary></indexterm>
+ </term>
+ <listitem>
+ <para>Make the interface loader be *real* chatty about what it is
+ upto.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
+ <option>-ddump-tc-trace</option>
+ <indexterm><primary><option>-ddump-tc-trace</option></primary></indexterm>
+ </term>
+ <listitem>
+ <para>Make the type checker be *real* chatty about what it is
+ upto.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
<option>-ddump-rn-trace</option>
<indexterm><primary><option>-ddump-rn-trace</option></primary></indexterm>
</term>
<varlistentry>
<term>
+ <option>-dshow-passes</option>
+ <indexterm><primary><option>-dshow-passes</option></primary></indexterm>
+ </term>
+ <listitem>
+ <para>Print out each pass name as it happens.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
+ <option>-dfaststring-stats</option>
+ <indexterm><primary><option>-dfaststring-stats</option></primary></indexterm>
+ </term>
+ <listitem>
+ <para>Show statistics for the usage of fast strings by the
+ compiler.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
<option>-dppr-debug</option>
<indexterm><primary><option>-dppr-debug</option></primary></indexterm>
</term>
<para>In error messages, expressions are printed to a
certain “depth”, with subexpressions beyond the
depth replaced by ellipses. This flag sets the
- depth.</para>
+ depth. Its default value is 5.</para>
</listitem>
</varlistentry>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <option>-dcmm-lint</option>:
+ <indexterm><primary><option>-dcmm-lint</option></primary></indexterm>
+ </term>
+ <listitem>
+ <para>Ditto for C-- level.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
</sect2>
of platform-specific code that needs to be written in order to get
unregisterised compilation going is usually fairly small.</para>
- <variablelist>
- <varlistentry>
- <term>
- <option>-unreg</option>:
- <indexterm><primary><option>-unreg</option></primary></indexterm>
- </term>
- <listitem>
- <para>Compile via vanilla ANSI C only, turning off
- platform-specific optimisations. NOTE: in order to use
- <option>-unreg</option>, you need to have a set of libraries
- (including the RTS) built for unregisterised compilation.
- This amounts to building GHC with way "u" enabled.</para>
- </listitem>
- </varlistentry>
- </variablelist>
+ <para>Unregisterised compilation cannot be selected at
+ compile-time; you have to build GHC with the appropriate options
+ set. Consult the GHC Building Guide for details.</para>
</sect2>
</sect1>