• Lei Wang's avatar
    [Enhancement] Improve error handling and assertion messages across runtime and... · 17cfeb76
    Lei Wang authored
    [Enhancement] Improve error handling and assertion messages across runtime and argument binding (#1356)
    
    This commit enhances the error handling mechanisms in the runtime by introducing CPU-safe runtime helpers and refining assertion messages in the CodeGenCHost and ArgBinder. It includes structured packed error messages for various conditions, improving clarity in diagnostics. Additionally, the CMake configuration is updated to always include necessary runtime helpers, ensuring consistent error reporting. The changes aim to provide clearer feedback during runtime errors and improve the overall robustness of the argument binding process.
    17cfeb76
arg_binder.cc 30 KB