aboutsummaryrefslogtreecommitdiffstats
path: root/docs/CommandGuide
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-04-22 17:16:35 +0000
committerEli Bendersky <eliben@google.com>2013-04-22 17:16:35 +0000
commit72590d57bd7359d90c846472f6d70ac1798cbc15 (patch)
tree4d311bd6f72ac91500c46e03ed050acae1448475 /docs/CommandGuide
parent59eb5eeca7e49389ddde546e6b6ebba945b3dfc4 (diff)
downloadexternal_llvm-72590d57bd7359d90c846472f6d70ac1798cbc15.zip
external_llvm-72590d57bd7359d90c846472f6d70ac1798cbc15.tar.gz
external_llvm-72590d57bd7359d90c846472f6d70ac1798cbc15.tar.bz2
Document the -filetype option of llc (PR #12902)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180031 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide')
-rw-r--r--docs/CommandGuide/llc.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/CommandGuide/llc.rst b/docs/CommandGuide/llc.rst
index 70354b0..e6a5976 100644
--- a/docs/CommandGuide/llc.rst
+++ b/docs/CommandGuide/llc.rst
@@ -69,6 +69,14 @@ End-user Options
llvm-as < /dev/null | llc -march=xyz -mcpu=help
+.. option:: -filetype=<output file type>
+
+ Specify what kind of output ``llc`` should generated. Options are: ``asm``
+ for textual assembly ( ``'.s'``), ``obj`` for native object files (``'.o'``)
+ and ``null`` for not emitting anything (for performance testing).
+
+ Note that not all targets support all options.
+
.. option:: -mattr=a1,+a2,-a3,...
Override or control specific attributes of the target, such as whether SIMD