about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-05-24 16:02:41 +0800
committerGitHub <noreply@github.com>2018-05-24 16:02:41 +0800
commite14bc2d3d4fa637044446880bbd0e17d265670f9 (patch)
tree286853a230674cf7aa8b80098f06223412a72774 /src/rustllvm/RustWrapper.cpp
parenteb26c9b390306592458de3731c46e9c1643d4ccf (diff)
parent54f0668a1084b8e64355de5b194fc2fd02fe3854 (diff)
downloadrust-e14bc2d3d4fa637044446880bbd0e17d265670f9.tar.gz
rust-e14bc2d3d4fa637044446880bbd0e17d265670f9.zip
Rollup merge of #50972 - nikic:no-parallel, r=michaelwoerister
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