diff options
author | Lennart Kolmodin <kolmodin@gmail.com> | 2014-11-21 15:31:54 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-11-21 17:04:57 -0600 |
commit | 624a7c5a2eee0c0ba486a45550680052c2c79849 (patch) | |
tree | e48ccb390a642b824f66e1c0f13e4fbfcb4def8f /docs/users_guide/using.xml | |
parent | 02f8f6ad7bd3d792459a1d33e8d0d57dcf1ea424 (diff) | |
download | haskell-624a7c5a2eee0c0ba486a45550680052c2c79849.tar.gz |
ghc: allow --show-options and --interactive together
Summary:
Previously 'ghc --show-options' showed all options that GHC can possibly
accept. With this patch, it'll only show the options that have effect in
non-interactive modes.
This change also adds support for using 'ghc --interactive --show-options'
which previously was disallowed. This command will show all options that have
effect in the interactive mode.
The CmdLineParser is updated to know about the GHC modes, and then each flag
is annotated with which mode it has effect.
This fixes #9259.
Test Plan:
Try out --show-options with --interactive on the command line. With and without
--interactive should give different results.
Run the test suite, mode001 has been updated to verify this new flag
combination.
Reviewers: austin, jstolarek
Reviewed By: austin, jstolarek
Subscribers: jstolarek, thomie, carter, simonmar
Differential Revision: https://phabricator.haskell.org/D337
GHC Trac Issues: #9259
Diffstat (limited to 'docs/users_guide/using.xml')
-rw-r--r-- | docs/users_guide/using.xml | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index 3820f89a7d..a3b3d05d08 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -2422,35 +2422,6 @@ _ = rhs3 -- No warning: lone wild-card pattern <varlistentry> <term> - <option>-fllvm-pass-vectors-in-regs</option> - <indexterm><primary><option>-fllvm-pass-vectors-in-regs</option></primary></indexterm> - </term> - <listitem> - <para>On 32-bit machines it changes calling convention used with LLVM backend - to pass 128-bit vectors in SIMD registers. At the moment this does not work - because this is not supported by LLVM. We strongly suggest you don't use this flag. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term> - <option>-fllvm-tbaa</option> - <indexterm><primary><option>-fllvm-tbaa</option></primary></indexterm> - </term> - <listitem> - <para><emphasis>On by default for <option>-O0</option>, <option>-O</option>, - <option>-O2</option>.</emphasis> - </para> - <para>Enables type-based alias analysis for LLVM backend. - At the moment this has limited usefullness since we pass - very little information to LLVM. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term> <option>-floopification</option> <indexterm><primary><option>-floopification</option></primary></indexterm> </term> |