summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-02-22 14:31:40 +0100
committerThomas Miedema <thomasmiedema@gmail.com>2016-02-22 14:32:40 +0100
commited119096be6739b67d99acfa4c2d43627960f0e3 (patch)
tree2ee035a90fb33cb4368084a843f8a657d32957f2 /utils
parentbb9cd45498b36be1624fbdccb4999bb45a776b4f (diff)
downloadhaskell-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.hs3
-rw-r--r--utils/mkUserGuidePart/Options/KeepingIntermediates.hs9
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
}
]