[llvm] r180031 - Document the -filetype option of llc (PR #12902)
Eli Bendersky
eliben at google.com
Mon Apr 22 10:16:35 PDT 2013
Author: eliben
Date: Mon Apr 22 12:16:35 2013
New Revision: 180031
URL: http://llvm.org/viewvc/llvm-project?rev=180031&view=rev
Log:
Document the -filetype option of llc (PR #12902)
Modified:
llvm/trunk/docs/CommandGuide/llc.rst
Modified: llvm/trunk/docs/CommandGuide/llc.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/llc.rst?rev=180031&r1=180030&r2=180031&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/llc.rst (original)
+++ llvm/trunk/docs/CommandGuide/llc.rst Mon Apr 22 12:16:35 2013
@@ -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
More information about the llvm-commits
mailing list