diff options
| author | Tanya Lattner <tonic@nondot.org> | 2005-04-25 20:36:56 +0000 |
|---|---|---|
| committer | Tanya Lattner <tonic@nondot.org> | 2005-04-25 20:36:56 +0000 |
| commit | af0ac2744ec21875c6550ba033ac250c5ccbdb52 (patch) | |
| tree | fb549207b9d8b924511c2eadd5b16deedb516650 /llvm/docs/FAQ.html | |
| parent | a21bf8d1be678843d8bdf6ad5b7185b02a38b5da (diff) | |
| download | bcm5719-llvm-af0ac2744ec21875c6550ba033ac250c5ccbdb52.tar.gz bcm5719-llvm-af0ac2744ec21875c6550ba033ac250c5ccbdb52.zip | |
Added question about turning off all optimizations. I think this has been asked once or twice.
llvm-svn: 21542
Diffstat (limited to 'llvm/docs/FAQ.html')
| -rw-r--r-- | llvm/docs/FAQ.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/llvm/docs/FAQ.html b/llvm/docs/FAQ.html index 0f2abd63801..810df0116a5 100644 --- a/llvm/docs/FAQ.html +++ b/llvm/docs/FAQ.html @@ -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"> |

