Files
Nim/lib
Ștefan Talpalaru ee9ee297d8 generic stack trace overriding mechanism (#12922)
* libbacktrace support

* switch to a generic stack trace overriding mechanism

When "nimStackTraceOverride" is defined, once of the imported modules
can register its own procedure to replace the default stack trace
generation by calling `registerStackTraceOverride(myOwnProc)`.

Tested with `./koch boot -d:release --debugger:native -d:nimStackTraceOverride --import:libbacktrace`
for the compiler itself and `./bin/nim c -r -f --stacktrace:off --debugger:native -d:nimStackTraceOverride --import:libbacktrace foo.nim`
for an external program.

* make the StackTraceOverrideProc {.noinline.}
2019-12-29 15:46:01 +01:00
..
2017-02-20 17:24:19 +02:00
2019-12-17 17:37:50 +01:00
2019-07-14 16:08:15 +02:00
2019-12-24 17:33:27 +01:00
2019-10-22 17:59:12 -07:00
2019-11-05 11:05:46 +01:00
2013-03-16 23:53:07 +01:00
2019-12-09 06:58:06 +01:00
2014-08-28 09:59:26 +02:00