Switch from PIC+Default (small) to Static+Large. Should fix flaky test failures.

This commit is contained in:
Nick Lewycky 2019-09-13 16:53:07 -07:00
parent 56c571465e
commit 59597b9e83

View File

@ -189,8 +189,8 @@ impl LLVMBackend {
&TargetMachine::get_host_cpu_name().to_string(),
&TargetMachine::get_host_cpu_features().to_string(),
OptimizationLevel::Aggressive,
RelocMode::PIC,
CodeModel::Default,
RelocMode::Static,
CodeModel::Large,
)
.unwrap();