Invert -Z generate-arange-section
.
Because it uses `parse_bool` and defaults to true, it is actually impossible to set it to false. Inverting its sense to `-Z no-generate-arange-section` makes it usable.
This commit is contained in:
parent
f19ab9ad9d
commit
fa432597ea
2 changed files with 3 additions and 4 deletions
|
@ -80,8 +80,7 @@ unsafe fn configure_llvm(sess: &Session) {
|
|||
if sess.print_llvm_passes() {
|
||||
add("-debug-pass=Structure", false);
|
||||
}
|
||||
|
||||
if sess.opts.debugging_opts.generate_arange_section {
|
||||
if !sess.opts.debugging_opts.no_generate_arange_section {
|
||||
add("-generate-arange-section", false);
|
||||
}
|
||||
if get_major_version() >= 8 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue