mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-09 05:57:23 +00:00
Updates for the C backend's movement
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11428 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6ab5c15962
commit
036e639623
@ -911,8 +911,7 @@ following is a brief introduction to the most important tools.</p>
|
|||||||
LLVM assembly to LLVM bytecode.<p>
|
LLVM assembly to LLVM bytecode.<p>
|
||||||
|
|
||||||
<dt><tt><b>llvm-dis</b></tt><dd>The disassembler transforms the LLVM
|
<dt><tt><b>llvm-dis</b></tt><dd>The disassembler transforms the LLVM
|
||||||
bytecode to human readable LLVM assembly. Additionally, it can convert
|
bytecode to human readable LLVM assembly.<p>
|
||||||
LLVM bytecode to C, which is enabled with the <tt>-c</tt> option.<p>
|
|
||||||
|
|
||||||
<dt><tt><b>llvm-link</b></tt><dd> <tt>llvm-link</tt>, not surprisingly,
|
<dt><tt><b>llvm-link</b></tt><dd> <tt>llvm-link</tt>, not surprisingly,
|
||||||
links multiple LLVM modules into a single program.<p>
|
links multiple LLVM modules into a single program.<p>
|
||||||
@ -926,8 +925,9 @@ following is a brief introduction to the most important tools.</p>
|
|||||||
functionality was compiled in), and will execute the code <i>much</i>
|
functionality was compiled in), and will execute the code <i>much</i>
|
||||||
faster than the interpreter.<p>
|
faster than the interpreter.<p>
|
||||||
|
|
||||||
<dt><tt><b>llc</b></tt><dd> <tt>llc</tt> is the LLVM backend compiler,
|
<dt><tt><b>llc</b></tt><dd> <tt>llc</tt> is the LLVM backend compiler, which
|
||||||
which translates LLVM bytecode to a SPARC or x86 assembly file.<p>
|
translates LLVM bytecode to a SPARC or x86 assembly file, or to C code (with
|
||||||
|
the -march=c option).<p>
|
||||||
|
|
||||||
<dt><tt><b>llvmgcc</b></tt><dd> <tt>llvmgcc</tt> is a GCC-based C frontend
|
<dt><tt><b>llvmgcc</b></tt><dd> <tt>llvmgcc</tt> is a GCC-based C frontend
|
||||||
that has been retargeted to emit LLVM code as the machine code output. It
|
that has been retargeted to emit LLVM code as the machine code output. It
|
||||||
|
@ -281,7 +281,7 @@ the following:</p>
|
|||||||
<li>Regenerate the shared object from the safe bytecode file:<br>
|
<li>Regenerate the shared object from the safe bytecode file:<br>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<b>llvm-dis</b> -c safe.bc -o safe.c<br>
|
<b>llc</b> -march=c safe.bc -o safe.c<br>
|
||||||
<b>gcc</b> -shared safe.c -o safe.so
|
<b>gcc</b> -shared safe.c -o safe.so
|
||||||
</pre></li>
|
</pre></li>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user