patchDotGNU Portable.NET - Patches: patch #7295, LibJit: Added support for windows...


You are not allowed to post comments on this tracker with your current authentication level.

patch #7295: LibJit: Added support for windows 64-bit callstack info

Submitted by:  Patrick van Beem <pvbeem>
Submitted on:  Tue 31 Aug 2010 07:36:18 AM UTC  
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Tue 31 Aug 2010 07:36:18 AM UTC, original submission:

Added code do generate and request windows structures that describe the function and it's prolog. This unwind information is used by windows to unwind the stack when it has to generate a call stack (in case of an exception or in the debugger).
This can be used like:

PRUNTIME_FUNCTION pruntimefunction;
DWORD64 baseaddress;

if ( jit_function_compile(func) && jit_get_function_boundaries(func, (void*)&pruntimefunction, (void*)&baseaddress))
RtlAddFunctionTable(pruntimefunction, 1, baseaddress);

and when you free the function:

Note that at leas Visual Studio 2005 does not use this information to show the correct call stack in the debugger. WinDbg and Visual Studio 2010 do (did not try 2008).

Patrick van Beem <pvbeem>


Attached Files
file #21357: added by pvbeem (42KiB - application/zip - The patch and files are based on the version with my previous patch installed.)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by pvbeem (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 31 Aug 2010 07:36:18 AM UTCpvbeemAttached File-=>Added, #21357

    Back to the top

    Powered by Savane 3.1-cleanup1