diff --git a/CHANGELOG.md b/CHANGELOG.md index 01c7d0ef65a..1651f7ffbeb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ Blocks of changes will separated by version increments. ## **[Unreleased]** +- [#790](https://github.com/wasmerio/wasmer/pull/790) Fix flaky test failure with LLVM, switch to large code model. - [#788](https://github.com/wasmerio/wasmer/pull/788) Use union merge on the changelog file. - [#785](https://github.com/wasmerio/wasmer/pull/785) Include Apache license file for spectests. - [#786](https://github.com/wasmerio/wasmer/pull/786) In the LLVM backend, lower atomic wasm operations to atomic machine instructions. diff --git a/lib/llvm-backend/src/backend.rs b/lib/llvm-backend/src/backend.rs index a0fb80c0352..682bd72782b 100644 --- a/lib/llvm-backend/src/backend.rs +++ b/lib/llvm-backend/src/backend.rs @@ -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();