mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Added question about turning off all optimizations. I think this has been asked once or twice.
llvm-svn: 21542
This commit is contained in:
parent
3f22e5ba5d
commit
95c14163f6
@ -67,6 +67,11 @@
|
||||
When I compile code using the LLVM GCC front end, it complains that it
|
||||
cannot find libcrtend.a.
|
||||
</li>
|
||||
|
||||
<li>
|
||||
How can I disable all optimizations when compiling code using the LLVM GCC front end?
|
||||
</li>
|
||||
|
||||
</ol>
|
||||
</li>
|
||||
|
||||
@ -442,6 +447,19 @@ correct this, do:</p>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="question">
|
||||
<p>
|
||||
How can I disable all optimizations when compiling code using the LLVM GCC front end?
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="answer">
|
||||
<p>
|
||||
Passing "-Wa,-disable-opt -Wl,-disable-opt" will disable *all* cleanup and
|
||||
optimizations done at the llvm level, leaving you with the truly horrible
|
||||
code that you desire.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<!-- *********************************************************************** -->
|
||||
<div class="doc_section">
|
||||
|
Loading…
x
Reference in New Issue
Block a user