[project @ 2000-01-19 16:44:51 by sewardj]
authorsewardj <unknown>
Wed, 19 Jan 2000 16:44:51 +0000 (16:44 +0000)
committersewardj <unknown>
Wed, 19 Jan 2000 16:44:51 +0000 (16:44 +0000)
Add comment about code generation for debug tracing.

ghc/compiler/nativeGen/MachCode.lhs

index a7ed64e..0af2745 100644 (file)
@@ -49,6 +49,8 @@ stmt2Instrs stmt = case stmt of
     StFunBegin lab -> returnInstr (IF_ARCH_alpha(FUNBEGIN lab,LABEL lab))
 #else
     -- StFunBegin, special tracing code for x86-Linux only
+    -- requires you to supply
+    -- void native_trace ( char* str )
     StFunBegin lab -> getUniqLabelNCG `thenUs` \ str_lbl ->
                       returnUs (mkSeqInstrs [
                          LABEL lab,