• Shinichiro Hamaji's avatar
    Use `static` to define CheckStackTrace on non-GNU (#429) · 64041397
    Shinichiro Hamaji authored
    for `&CheckStackAddress`, VisualStudio emits address of a trampoline like PLT, 
    not the actual address of `CheckStackTrace`.
    
    We need address of `CheckStackTrace` to guess the address range of the function.
    `static` function seems to return the actual address of the function.
    
    Fixes #421 
    64041397