Fix xdebug (#5309)
authorUri Simchoni <urisimchoni@users.noreply.github.com>
Tue, 8 Aug 2017 20:38:25 +0000 (23:38 +0300)
committerZoltan Varga <vargaz@gmail.com>
Tue, 8 Aug 2017 20:38:25 +0000 (16:38 -0400)
commit555041c8c2d5db324e3cb79fb65e614a4e347f64
treebc832c01dd27449fd2d675b456bf5e825e9b7817
parent074c3c2693e34037af9c551f40613019f5d42996
Fix xdebug (#5309)

* [mini] fix xdebug null pointer dereferencing

Some trampolines are nameless, avoid crashing when generating their
debug info.

This change is released under the MIT license.

* [mini]: image-writer - move definition of USE_BIN_WRITER to header file

USE_BIN_WRITER is being used by xdebug for conditional compilation.

This change is released under the MIT license.

* [mini]: xdebug - obtain definition of USE_BIN_WRITER from header file

This re-enables xdebug on supported platforms.

This change is released under the MIT license.
mono/mini/image-writer.c
mono/mini/image-writer.h
mono/mini/xdebug.c