2003-09-11 19:58:03 +00:00
|
|
|
<html>
|
2003-10-07 20:01:09 +00:00
|
|
|
<title>LLVM: gccas tool</title>
|
2003-09-11 19:58:03 +00:00
|
|
|
|
2003-10-07 20:12:05 +00:00
|
|
|
<body bgcolor=white>
|
2003-09-11 19:58:03 +00:00
|
|
|
|
|
|
|
<center>
|
2003-10-07 20:01:09 +00:00
|
|
|
<h1>LLVM: <tt>gccas</tt> tool</h1>
|
2003-09-11 19:58:03 +00:00
|
|
|
</center>
|
|
|
|
<HR>
|
|
|
|
|
2003-10-07 20:01:09 +00:00
|
|
|
<h3>NAME</h3>
|
|
|
|
<tt>gccas</tt>
|
2003-09-11 19:58:03 +00:00
|
|
|
|
2003-10-07 20:01:09 +00:00
|
|
|
<h3>SYNOPSIS</h3>
|
|
|
|
<tt>gccas [options] < filename></tt>
|
2003-09-11 19:58:03 +00:00
|
|
|
|
2003-10-07 20:01:09 +00:00
|
|
|
<h3>DESCRIPTION</h3>
|
2003-09-11 19:58:03 +00:00
|
|
|
|
2003-10-07 20:01:09 +00:00
|
|
|
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>
|
2003-09-11 19:58:03 +00:00
|
|
|
|
2003-10-07 20:01:09 +00:00
|
|
|
<tt>gccas</tt> performs a number of optimizations on the input program.<p>
|
2003-09-11 19:58:03 +00:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2003-10-16 20:05:48 +00:00
|
|
|
<li>-disable-inlining
|
|
|
|
<br>
|
|
|
|
Disable the inlining pass. By default, it is enabled.
|
|
|
|
<p>
|
|
|
|
|
2004-03-12 22:45:35 +00:00
|
|
|
<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>
|
|
|
|
|
2003-09-11 19:58:03 +00:00
|
|
|
<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>
|
|
|
|
|
2003-10-07 20:01:09 +00:00
|
|
|
If <tt>gccas</tt> succeeds, it will exit with 0. Otherwise, if an error occurs,
|
|
|
|
it will exit with a non-zero value.
|
2003-09-11 19:58:03 +00:00
|
|
|
|
2003-10-07 20:01:09 +00:00
|
|
|
<h3>SEE ALSO</h3>
|
|
|
|
<a href="llvm-as.html"><tt>llvm-as</tt></a>
|
|
|
|
<a href="gccld.html"><tt>gccld</tt></a>
|
2003-09-11 19:58:03 +00:00
|
|
|
|
|
|
|
<HR>
|
2003-10-07 20:12:05 +00:00
|
|
|
Maintained by the <a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.
|
2003-09-11 19:58:03 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|