about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-05-22 19:23:40 +0200
committerNikita Popov <nikita.ppv@gmail.com>2018-05-22 19:23:40 +0200
commit54f0668a1084b8e64355de5b194fc2fd02fe3854 (patch)
tree7a536a53356594f686228b6281890eeb118770a1 /src/rustllvm/RustWrapper.cpp
parent9f80ea32811db0bdbd05b1bef59f5db26b3e24a9 (diff)
downloadrust-54f0668a1084b8e64355de5b194fc2fd02fe3854.tar.gz
rust-54f0668a1084b8e64355de5b194fc2fd02fe3854.zip
Add -Z no-parallel-llvm flag
Codegen issues commonly only manifest under specific circumstances,
e.g. if multiple codegen units are used and ThinLTO is enabled.
However, these configuration are threaded, making the use of LLVM
debugging facilities hard, as output is interleaved.

This patch adds a -Z no-parallel-llvm flag, which allows disabling
parallelization of codegen and linking, while otherwise preserving
behavior with regard to codegen units and LTO.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions