[PATCH] D56950: [docs] Prevent O0 optnone for opt input
Shoaib Meenai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 18 17:12:21 PST 2019
smeenai marked an inline comment as done.
smeenai added inline comments.
================
Comment at: llvm/docs/HowToSubmitABug.rst:87
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``".
+``.bc`` file by passing "``-emit-llvm -O0 -Xclang -disable-O0-optnone -c -o foo.bc``".
Then run:
----------------
This is definitely over 80 columns, but I'm not sure if we're strict about that in the documentation, and what the best way to split it would be.
Also, are there any preferences for `-O0 -Xclang -disable-O0-optnone` vs. `-O1 -Xclang -disable-llvm-passes` vs. `-O1 -Xclang -disable-llvm-optzns`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56950/new/
https://reviews.llvm.org/D56950
More information about the llvm-commits
mailing list