Refreshed llvm_llc_opt_default_path.patch

Former-commit-id: 6eb98d47f021f11b276f8e16f52739e9366d561c
This commit is contained in:
Jo Shields 2018-08-07 11:39:41 -04:00
parent 0772512f2b
commit f120921e6b

View File

@ -1,11 +1,11 @@
diff --git a/mono/mini/aot-compiler.c b/mono/mini/aot-compiler.c
index d831bfe8cf5..e419cbdb53b 100644
--- a/mono/mini/aot-compiler.c
+++ b/mono/mini/aot-compiler.c
@@ -12465,7 +12465,7 @@ mono_compile_assembly (MonoAssembly *ass, guint32 opts, const char *aot_options,
acfg->aot_opts.nimt_trampolines = 512;
acfg->aot_opts.nrgctx_fetch_trampolines = 128;
acfg->aot_opts.ngsharedvt_arg_trampolines = 512;
Index: xamarin-pkg-mono/mono/mini/aot-compiler.c
===================================================================
--- xamarin-pkg-mono.orig/mono/mini/aot-compiler.c
+++ xamarin-pkg-mono/mono/mini/aot-compiler.c
@@ -12559,7 +12559,7 @@ mono_compile_assembly (MonoAssembly *ass
#ifdef MONO_ARCH_HAVE_FTNPTR_ARG_TRAMPOLINE
acfg->aot_opts.nftnptr_arg_trampolines = 128;
#endif
- acfg->aot_opts.llvm_path = g_strdup ("");
+ acfg->aot_opts.llvm_path = g_strdup ("/usr/lib/mono/llvm/bin/");
acfg->aot_opts.temp_path = g_strdup ("");