[PATCH] D56950: [docs] Prevent O0 optnone for opt input

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 29 14:17:48 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL352550: [docs] Prevent O0 optnone for opt input (authored by smeenai, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D56950?vs=182653&id=184172#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56950/new/

https://reviews.llvm.org/D56950

Files:
  llvm/trunk/docs/HowToSubmitABug.rst


Index: llvm/trunk/docs/HowToSubmitABug.rst
===================================================================
--- llvm/trunk/docs/HowToSubmitABug.rst
+++ llvm/trunk/docs/HowToSubmitABug.rst
@@ -84,8 +84,8 @@
 ------------------------------
 
 If you find that a bug crashes in the optimizer, compile your test-case to a
-``.bc`` file by passing "``-emit-llvm -O0 -c -o foo.bc``".
-Then run:
+``.bc`` file by passing "``-emit-llvm -O1 -Xclang -disable-llvm-passes -c -o
+foo.bc``".  Then run:
 
 .. code-block:: bash
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56950.184172.patch
Type: text/x-patch
Size: 519 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190129/46b1aedb/attachment.bin>


More information about the llvm-commits mailing list