AsmJit
Low-Latency Machine Code Generation
Debugging utilities.
Returns the error err
passed.
Provided for debugging purposes. Putting a breakpoint inside errored
can help with tracing the origin of any error reported / returned by AsmJit.
Returns a printable version of asmjit::Error
code.
Called to output debugging message(s).
Called on assertion failure.
file | Source file name where it happened. |
line | Line in the source file. |
msg | Message to display. |
If you have problems with assertion failures a breakpoint can be put at assertionFailed() function (asmjit/core/globals.cpp). A call stack will be available when such assertion failure is triggered. AsmJit always returns errors on failures, assertions are a last resort and usually mean unrecoverable state due to out of range array access or totally invalid arguments like nullptr where a valid pointer should be provided, etc...