diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2016-02-22 14:31:40 +0100 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2016-02-22 14:32:40 +0100 |
commit | ed119096be6739b67d99acfa4c2d43627960f0e3 (patch) | |
tree | 2ee035a90fb33cb4368084a843f8a657d32957f2 /utils | |
parent | bb9cd45498b36be1624fbdccb4999bb45a776b4f (diff) | |
download | haskell-ed119096be6739b67d99acfa4c2d43627960f0e3.tar.gz |
Docs: -keep-llvm-file(s)/-ddump-llvm imply -fllvm
This fixes #9917.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mkUserGuidePart/Options/CompilerDebugging.hs | 3 | ||||
-rw-r--r-- | utils/mkUserGuidePart/Options/KeepingIntermediates.hs | 9 |
2 files changed, 7 insertions, 5 deletions
diff --git a/utils/mkUserGuidePart/Options/CompilerDebugging.hs b/utils/mkUserGuidePart/Options/CompilerDebugging.hs index 6160f01e8c..3f1d89999d 100644 --- a/utils/mkUserGuidePart/Options/CompilerDebugging.hs +++ b/utils/mkUserGuidePart/Options/CompilerDebugging.hs @@ -55,7 +55,8 @@ compilerDebuggingOptions = , flagType = DynamicFlag } , flag { flagName = "-ddump-llvm" - , flagDescription = "Dump LLVM intermediate code" + , flagDescription = "Dump LLVM intermediate code. "++ + "Implies :ghc-flag:`-fllvm`." , flagType = DynamicFlag } , flag { flagName = "-ddump-occur-anal" diff --git a/utils/mkUserGuidePart/Options/KeepingIntermediates.hs b/utils/mkUserGuidePart/Options/KeepingIntermediates.hs index 9c93aedfeb..dd68de493e 100644 --- a/utils/mkUserGuidePart/Options/KeepingIntermediates.hs +++ b/utils/mkUserGuidePart/Options/KeepingIntermediates.hs @@ -5,19 +5,20 @@ import Types keepingIntermediatesOptions :: [Flag] keepingIntermediatesOptions = [ flag { flagName = "-keep-hc-file, -keep-hc-files" - , flagDescription = "retain intermediate ``.hc`` files" + , flagDescription = "Retain intermediate ``.hc`` files." , flagType = DynamicFlag } , flag { flagName = "-keep-llvm-file, -keep-llvm-files" - , flagDescription = "retain intermediate LLVM ``.ll`` files" + , flagDescription = "Retain intermediate LLVM ``.ll`` files. "++ + "Implies :ghc-flag:`-fllvm`." , flagType = DynamicFlag } , flag { flagName = "-keep-s-file, -keep-s-files" - , flagDescription = "retain intermediate ``.s`` files" + , flagDescription = "Retain intermediate ``.s`` files." , flagType = DynamicFlag } , flag { flagName = "-keep-tmp-files" - , flagDescription = "retain all intermediate temporary files" + , flagDescription = "Retain all intermediate temporary files." , flagType = DynamicFlag } ] |