mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 13:10:42 +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>
|
||||
|
||||
<dt><tt><b>llvm-dis</b></tt><dd>The disassembler transforms the LLVM
|
||||
bytecode to human readable LLVM assembly. Additionally, it can convert
|
||||
LLVM bytecode to C, which is enabled with the <tt>-c</tt> option.<p>
|
||||
bytecode to human readable LLVM assembly.<p>
|
||||
|
||||
<dt><tt><b>llvm-link</b></tt><dd> <tt>llvm-link</tt>, not surprisingly,
|
||||
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>
|
||||
faster than the interpreter.<p>
|
||||
|
||||
<dt><tt><b>llc</b></tt><dd> <tt>llc</tt> is the LLVM backend compiler,
|
||||
which translates LLVM bytecode to a SPARC or x86 assembly file.<p>
|
||||
<dt><tt><b>llc</b></tt><dd> <tt>llc</tt> is the LLVM backend compiler, which
|
||||
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
|
||||
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>
|
||||
|
||||
<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
|
||||
</pre></li>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user