Skip to content

JIT crash - int_types.das #2131

@borisbat

Description

@borisbat
[E] Failed to simulate D:\Work\daScript\tests\language\int_types.das
error[30403]: macro caused exception during simulate
D:/Work/daScript/modules/dasLLVM/daslib/llvm_jit.das:6325:20
                    panic("Internal jit error. Failed to get IR for functions {fn_names}.\n")

                    ^^^^^
Internal jit error. Failed to get IR for functions run,testing`equal`6777546533192487011,finalize,finalize,finalize,_lambda_thismodule_20_1`function,_lambda_thismodule_20_1`finalizer,testing`equal`6777546533192487011,_lambda_thismodule_38_2`function,_lambda_thismodule_38_2`finalizer,`it_check12`5457620898961798064,`it_check12`5457620898961798064,`it_check12`5457620898961798064,`it_check12`5457620898961798064,testing`success`5854329302731569869,_lambda_thismodule_42_3`function,_lambda_thismodule_42_3`finalizer,test_int_types.

this are two separate issues

  1. int_types.das currently crashes JIT
  2. wrong panic - if macro crashed, panic should be "internal JIT error" - and not "bunch of functions are missing JIT". i suspect those are separate issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions