diff --git a/Unity-build.md b/Unity-build.md index d3d0a326863b..265470655695 100644 --- a/Unity-build.md +++ b/Unity-build.md @@ -14,7 +14,8 @@ #### Runtime From the root of your cloned mono directory run: -- external\buildscripts\build_runtime_win.pl +- external\buildscripts\build_runtime_win64.pl +(there are variations of build_runtime script for other platforms) or: Open msvc/mono.sln in Visual Studio and build the Runtime/libmono-dynamic project @@ -52,4 +53,4 @@ From the root of your cloned mono directory run: ### Build on other platforms - Run external/buildscripts/build_runtime_myplatform.pl (Runtime only) or -- Run ./autogen.sh followed by make. (All platforms (requires cygwin on windows)) \ No newline at end of file +- Run ./autogen.sh followed by make. (All platforms (requires cygwin on windows)) diff --git a/mono/metadata/oop.c b/mono/metadata/oop.c index b42c4fae09ff..92036b11bfae 100644 --- a/mono/metadata/oop.c +++ b/mono/metadata/oop.c @@ -51,6 +51,8 @@ typedef struct _MonoStackFrameDetails size_t classNameLen; char* assemblyName; size_t assemblyNameLen; + char* assemblyFileName; + size_t assemblyFileNameLen; } MonoStackFrameDetails; typedef gboolean(*ReadMemoryCallback)(void* buffer, gsize* read, const void* address, gsize size, void* userdata); @@ -425,6 +427,11 @@ mono_unity_oop_get_stack_frame_details( frameDetails->assemblyNameLen, read_pointer(OFFSET_MEMBER(MonoImage, image, assembly_name))); + frameDetails->assemblyFileNameLen = read_nt_string( + frameDetails->assemblyFileName, + frameDetails->assemblyFileNameLen, + read_pointer(OFFSET_MEMBER(MonoImage, image, filename))); + free(className); free(nsName);