prevent getBacktrace() from being inlined
This commit is contained in:
parent
2ec2964d97
commit
84b40137bb
|
@ -34,7 +34,7 @@ else:
|
|||
when defined(windows):
|
||||
{.passl: "-lpsapi".}
|
||||
|
||||
proc getBacktrace*(): string =
|
||||
proc getBacktrace*(): string {.noinline.} =
|
||||
var
|
||||
bt: cstring = get_backtrace_c()
|
||||
btLen = len(bt)
|
||||
|
|
Loading…
Reference in New Issue