[project @ 2001-09-24 11:27:31 by simonmar]
[ghc-hetmet.git] / ghc / docs / users_guide / profiling.sgml
index a29b160..4413eb2 100644 (file)
@@ -674,6 +674,18 @@ $ ghcprof <prog>.prof
        </listitem>
       </varlistentry>
 
+      <varlistentry>
+       <term><option>-xc</option></term>
+       <indexterm><primary><option>-xc</option></primary><secondary>RTS
+       option</secondary></indexterm>
+       <listitem>
+         <para>This option makes use of the extra information
+         maintained by the cost-centre-stack profiler to provide
+         useful information about the location of runtime errors.
+         See <xref linkend="rts-options-debugging">.</para>
+       </listitem>
+      </varlistentry>
+
     </variableList>
     
   </sect1>