Skip to content

Commit 0ea9950

Browse files
committed
Document -Zno-parallel-llvm.
Because it's usefulness wasn't clear to me, and I initially wondered if it could be removed. The text is based on the text in rust-lang#50972, the PR that added the flag.
1 parent 67e4bec commit 0ea9950

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# `no-parallel-llvm`
2+
3+
---------------------
4+
5+
This flag disables parallelization of codegen and linking, while otherwise preserving
6+
behavior with regard to codegen units and LTO.
7+
8+
This flag is not useful for regular users, but it can be useful for debugging the backend. Codegen issues commonly only manifest under specific circumstances, e.g. if multiple codegen units are used and ThinLTO is enabled. Serialization of these threaded configurations makes the use of LLVM debugging facilities easier, by avoiding the interleaving of output.

0 commit comments

Comments
 (0)