mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
a9c937b8ec
llvm-svn: 12350
91 lines
1.8 KiB
HTML
91 lines
1.8 KiB
HTML
<html>
|
|
<title>LLVM: gccas tool</title>
|
|
|
|
<body bgcolor=white>
|
|
|
|
<center>
|
|
<h1>LLVM: <tt>gccas</tt> tool</h1>
|
|
</center>
|
|
<HR>
|
|
|
|
<h3>NAME</h3>
|
|
<tt>gccas</tt>
|
|
|
|
<h3>SYNOPSIS</h3>
|
|
<tt>gccas [options] < filename></tt>
|
|
|
|
<h3>DESCRIPTION</h3>
|
|
|
|
The <tt>gccas</tt> utility takes an LLVM assembly file generated by the <a
|
|
href="llvmgcc.html">C</a> or <a href="llvmgxx.html">C++</a> frontends and
|
|
converts it into an LLVM bytecode file. It is primarily used by the GCC front
|
|
end, and as such, attempts to mimic the interface provided by the default system
|
|
assembler so that it can act as a "drop-in" replacement.<p>
|
|
|
|
<tt>gccas</tt> performs a number of optimizations on the input program.<p>
|
|
|
|
<h3>
|
|
OPTIONS
|
|
</h3>
|
|
|
|
<ul>
|
|
<li> -help
|
|
<br>
|
|
Print a summary of command line options.
|
|
<p>
|
|
|
|
<li> -o <filename>
|
|
<br>
|
|
Specify the output filename which will hold the assembled bytecode.
|
|
<p>
|
|
|
|
<li>-disable-inlining
|
|
<br>
|
|
Disable the inlining pass. By default, it is enabled.
|
|
<p>
|
|
|
|
<li> -disable-opt
|
|
<br>
|
|
Disable all assemble-time optimization passes.
|
|
<p>
|
|
|
|
<li>-enable-correct-eh-support
|
|
<br>
|
|
Instruct the -lowerinvoke pass to insert code for correct exception handling
|
|
support. This is expensive and is by default omitted for efficiency.
|
|
<p>
|
|
|
|
<li> -stats
|
|
<br>
|
|
Print statistics.
|
|
<p>
|
|
|
|
<li> -time-passes
|
|
<br>
|
|
Record the amount of time needed for each pass and print it to standard
|
|
error.
|
|
<p>
|
|
|
|
<li> -verify
|
|
<br>
|
|
Verify each pass result.
|
|
<p>
|
|
</ul>
|
|
|
|
<h3>
|
|
EXIT STATUS
|
|
</h3>
|
|
|
|
If <tt>gccas</tt> succeeds, it will exit with 0. Otherwise, if an error occurs,
|
|
it will exit with a non-zero value.
|
|
|
|
<h3>SEE ALSO</h3>
|
|
<a href="llvm-as.html"><tt>llvm-as</tt></a>
|
|
<a href="gccld.html"><tt>gccld</tt></a>
|
|
|
|
<HR>
|
|
Maintained by the <a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.
|
|
</body>
|
|
</html>
|
|
|