Respect -Z no-verify during LTO
Currently -Z no-verify only controls IR verification prior to LLVM codegen, while verification is performed unconditionally both before and after linking with (Thin)LTO.
This commit is contained in:
parent
ef8cb40c9c
commit
78a16443a3
2 changed files with 12 additions and 7 deletions
|
@ -232,7 +232,7 @@ pub struct ModuleConfig {
|
|||
emit_obj: bool,
|
||||
// Miscellaneous flags. These are mostly copied from command-line
|
||||
// options.
|
||||
no_verify: bool,
|
||||
pub no_verify: bool,
|
||||
no_prepopulate_passes: bool,
|
||||
no_builtins: bool,
|
||||
time_passes: bool,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue