提交 d530d836 编写于 作者: Z Zoltan Varga

2010-04-28 Zoltan Varga <vargaz@gmail.com>

	* aot-compiler.c (emit_got_info): Double the buffer size to avoid an assert.

svn path=/trunk/mono/; revision=156262
上级 1fb05e0b
2010-04-28 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_got_info): Double the buffer size to avoid an assert.
2010-04-27 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c (emit_line_number_info): Get rid of the usage of GArray, so
......
......@@ -5396,7 +5396,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.
先完成此消息的编辑!
想要评论请 注册