X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fphases.xml;h=dfa10a5b11fe4dc86e8047ac0fc442a7917f6dd6;hb=6caa417ded740fb8eaa50669269e38c8129092f0;hp=81be0a5a6074cff38ed3e411157e871a98798568;hpb=a3783a326f3a19b665883529e12a4609a7e0c327;p=ghc-hetmet.git
diff --git a/docs/users_guide/phases.xml b/docs/users_guide/phases.xml
index 81be0a5..dfa10a5 100644
--- a/docs/users_guide/phases.xml
+++ b/docs/users_guide/phases.xml
@@ -71,17 +71,6 @@
- cmd
-
-
-
- Use cmd as the
- mangler.
-
-
-
-
- cmd
@@ -359,44 +348,6 @@ $ cat foo.hspp
- __HASKELL98__
- __HASKELL98__
-
-
- If defined, this means that GHC supports the
- language defined by the Haskell 98 report.
-
-
-
-
-
- __HASKELL__=98
- __HASKELL__=98
-
-
- In GHC 4.04 and later, the
- __HASKELL__
- macro is defined as having the value
- 98.
-
-
-
-
-
- __HASKELL1__
- __HASKELL1__
-
-
- If defined to n, that
- means GHC supports the Haskell language defined in the
- Haskell report version 1.n.
- Currently 5. This macro is deprecated, and will probably
- disappear in future versions.
-
-
-
-
- __GLASGOW_HASKELL____GLASGOW_HASKELL__
@@ -435,19 +386,6 @@ $ cat foo.hspp
-
- __CONCURRENT_HASKELL__
- __CONCURRENT_HASKELL__
-
-
- This symbol is defined when pre-processing Haskell
- (input) and pre-processing C (GHC output). Since GHC from
- version 4.00 now supports concurrent haskell by default,
- this symbol is always defined.
-
-
-
- __PARALLEL_HASKELL____PARALLEL_HASKELL__
@@ -594,21 +532,8 @@ $ cat foo.hspp
Use GHC's native code generator rather than
- compiling via C. This will compile faster (up to twice as
- fast), but may produce code that is slightly slower than
- compiling via C. is the default.
-
-
-
-
-
-
-
-
-
- Compile via C instead of using the native code
- generator. This is the default on architectures for which GHC
- doesn't have a native code generator.
+ compiling via LLVM.
+ is the default.
@@ -620,8 +545,8 @@ $ cat foo.hspp
Compile via LLVM instead of using the native code
generator. This will generally take slightly longer than the
- native code generator to compile but quicker than compiling
- via C. Produced code is generally the same speed or faster
+ native code generator to compile.
+ Produced code is generally the same speed or faster
than the other two code generators. Compiling via LLVM
requires LLVM version 2.7 or later to be on the path.
@@ -1042,6 +967,86 @@ $ cat foo.hspp
+
+
+
+
+
+ This option affects the processing of RTS control options given either
+ on the command line or via the GHCRTS environment variable.
+ There are three possibilities:
+
+
+
+
+
+
+ Disable all processing of RTS options.
+ If appears anywhere on the command
+ line, then the program will abort with an error message.
+ If the GHCRTS environment variable is
+ set, then the program will emit a warning message,
+ GHCRTS will be ignored, and the program
+ will run as normal.
+
+
+
+
+
+
+ [this is the default setting] Enable
+ only the "safe" RTS options: (Currently
+ only
+ and .) Any other RTS options
+ on the command line or in the GHCRTS
+ environment variable causes the program with to abort
+ with an error message.
+
+
+
+
+ , or
+ just
+
+
+ Enable all RTS option
+ processing, both on the command line and through
+ the GHCRTS environment variable.
+
+
+
+
+
+ In GHC 6.12.3 and earlier, the default was to process all
+ RTS options. However, since RTS options can be used to
+ write logging data to arbitrary files under the security
+ context of the running program, there is a potential
+ security problem. For this reason, GHC 7.0.1 and later
+ default to .
+
+
+
+
+
+
+
+
+
+
+
+ This option allows you to set the default RTS options at link-time. For example,
+ sets the default heap size to 128MB.
+ This will always be the default heap size for this program, unless the user overrides it.
+ (Depending on the setting of the option, the user might
+ not have the ability to change RTS options at run-time, in which case
+ would be the only way to set
+ them.)
+
+
+
+
+
+