Garry's Mod Wiki

jit.util.traceinfo

  table jit.util.traceinfo( number trace )

Description

We advise against using this. It may be changed or removed in a future update. This function was disabled due to security concerns.

Return table fields:

  • link (number): the linked trace (0 for link types: none, return, interpreter)
  • nk (number): the lowest IR constant (???)
  • nins (number): the next IR instruction (???)
  • linktype (string): the link type (none, root, loop, tail-recursion, up-recursion, down-recursion, interpreter, return)
  • nexit (number): number of snapshots (for use with jit.util.tracesnap)

Arguments

1 number trace
trace index to retrieve info for (gotten via jit.attach)

Returns

1 table
trace info