diff options
author | Alex Rosenberg <alexr@leftfield.org> | 2013-02-03 07:05:26 +0000 |
---|---|---|
committer | Alex Rosenberg <alexr@leftfield.org> | 2013-02-03 07:05:26 +0000 |
commit | b65e88863e61365d9ba0576d64fbc2e3c8e3a662 (patch) | |
tree | 7a9647068e7c8774193df1bda37a28659cf715c3 /lld/docs/Driver.rst | |
parent | b9c9f9b2004f75da096058165cc99115250602f7 (diff) | |
download | bcm5719-llvm-b65e88863e61365d9ba0576d64fbc2e3c8e3a662.tar.gz bcm5719-llvm-b65e88863e61365d9ba0576d64fbc2e3c8e3a662.zip |
Spelling and grammar corrections.
llvm-svn: 174268
Diffstat (limited to 'lld/docs/Driver.rst')
-rw-r--r-- | lld/docs/Driver.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/docs/Driver.rst b/lld/docs/Driver.rst index 9f946ae150c..b65ff94f771 100644 --- a/lld/docs/Driver.rst +++ b/lld/docs/Driver.rst @@ -22,8 +22,8 @@ ld64, and Microsoft's link.exe. Flavors ------- -Each of these different interfaces is refered to as a flavor. There is also an -extra flavor for ``lld -core``. This is eqivilent to ``-cc1`` in clang. +Each of these different interfaces is referred to as a flavor. There is also an +extra flavor for ``lld -core``. This is equivalent to ``-cc1`` in clang. The current flavors are. * ld @@ -68,7 +68,7 @@ Adding an Option #. If there is no ``lld -core`` option, add the option to :file:`lib/Driver/CoreOptions.td`. All ``lld -core`` start with a single - and if they have a value, it is joined with a =. ``lld -core`` options should - have sensible, non-abbrivated names and should be shared between flavors + have sensible, non-abbreviated names and should be shared between flavors where possible. #. Modify the ``{flavor}Driver::transform`` function to transform the added @@ -96,7 +96,7 @@ Adding a Flavor #. Add a tablegen file called :file:`lib/Driver/{flavor}Options.td` that describes the options. If the options are a superset of another driver, that driver's td file can simply be included. The :file:`{flavor}Options.td` file - must also be added to :file:`lib/Driver/CMakeListst.txt`. + must also be added to :file:`lib/Driver/CMakeLists.txt`. #. Add a ``{flavor}::{flavor}OptTable`` as a subclass of :cpp:class:`llvm::opt::OptTable` in :file:`lib/Driver/Drivers.cpp`. |