about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-31 08:18:19 +0000
committerbors <bors@rust-lang.org>2023-07-31 08:18:19 +0000
commit5082281609a7c3bcba0292b0db6a0d3e20bf9549 (patch)
tree79da1bb7fe20d3483cba9bdd153c83a36bced8a0 /src
parent03b8b50fcb0c95e1f5ce303572ed4516a59a9b15 (diff)
parentc17c8dc78e475e2df377b3cd5c56e6233a1a5157 (diff)
Auto merge of #113879 - nnethercote:codegen_ssa-cleanups, r=bjorn3
`codegen_ssa` cleanups

Some clarifications I made when reading this code closely.

r? `@tmiasko`
Diffstat (limited to 'src')
-rw-r--r--src/doc/unstable-book/src/compiler-flags/no-parallel-llvm.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/no-parallel-llvm.md b/src/doc/unstable-book/src/compiler-flags/no-parallel-llvm.md
new file mode 100644
index 00000000000..f19ba16b6f7
--- /dev/null
+++ b/src/doc/unstable-book/src/compiler-flags/no-parallel-llvm.md
@@ -0,0 +1,8 @@
+# `no-parallel-llvm`
+
+---------------------
+
+This flag disables parallelization of codegen and linking, while otherwise preserving
+behavior with regard to codegen units and LTO.
+
+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.