Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Bjarne Kvinge <rolf@xamarin.com>2022-04-05 13:04:52 +0300
committergithub-actions <github-actions@github.com>2022-04-05 15:37:11 +0300
commit02b1969d0411c3a69076a0d01d537788954b04d0 (patch)
tree524a1e8bcf3e33a078c7c2617b68cb49e1815042
parentc2cf160132b2e3a9499f2627fb48e4c4c1550b74 (diff)
Don't set the 'CorrectedSynthesize' flag when using LLVM either.backport/pr-21451-to-2020-02
-rw-r--r--mono/mini/mini-llvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mono/mini/mini-llvm.c b/mono/mini/mini-llvm.c
index 57113a19dcf..80cc9af2b7a 100644
--- a/mono/mini/mini-llvm.c
+++ b/mono/mini/mini-llvm.c
@@ -6820,7 +6820,7 @@ process_bb (EmitContext *ctx, MonoBasicBlock *bb)
ctx->module->objc_selector_to_var = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
LLVMValueRef info_var = LLVMAddGlobal (ctx->lmodule, LLVMArrayType (LLVMInt8Type (), 8), "@OBJC_IMAGE_INFO");
- int32_t objc_imageinfo [] = { 0, 16 };
+ int32_t objc_imageinfo [] = { 0, 0 };
LLVMSetInitializer (info_var, mono_llvm_create_constant_data_array ((uint8_t *) &objc_imageinfo, 8));
LLVMSetLinkage (info_var, LLVMPrivateLinkage);
LLVMSetExternallyInitialized (info_var, TRUE);