提交 b7b3687b 编写于 作者: Z Zoltan Varga 提交者: Mantas Puida

fixing cherrypicked d530d836

上级 07ee1913
2010-04-28 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_got_info): Double the buffer size to avoid an assert.
2009-11-26 Zoltan Varga <vargaz@gmail.com>
* mini.h (MonoDebugOptions): Add 'explicit_null_checks' option.
......
......@@ -5143,7 +5143,7 @@ emit_got_info (MonoAotCompile *acfg)
*/
/* Encode info required to decode shared GOT entries */
buf_size = acfg->got_patches->len * 64;
buf_size = acfg->got_patches->len * 128;
p = buf = mono_mempool_alloc (acfg->mempool, buf_size);
got_info_offsets = mono_mempool_alloc (acfg->mempool, acfg->got_patches->len * sizeof (guint32));
acfg->plt_got_info_offsets = mono_mempool_alloc (acfg->mempool, acfg->plt_offset * sizeof (guint32));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册