update to llvm 12

This commit is contained in:
Folkert 2021-06-07 20:02:59 +02:00
parent 22ff337f64
commit 8e227c7e7c
5 changed files with 56 additions and 58 deletions

View file

@ -204,7 +204,7 @@ pub fn gen_from_mono_module(
}
// assemble the .ll into a .bc
let _ = Command::new("llvm-as-10")
let _ = Command::new("llvm-as-12")
.env_clear()
.args(&[
app_ll_dbg_file.to_str().unwrap(),
@ -216,7 +216,7 @@ pub fn gen_from_mono_module(
// write the .o file. Note that this builds the .o for the local machine,
// and ignores the `target_machine` entirely.
let _ = Command::new("llc-10")
let _ = Command::new("llc-12")
.env_clear()
.args(&[
"-filetype=obj",