JuliaDebug / Cthulhu.jl

The slow descent into madness
MIT License
657 stars 41 forks source link

`_dump_function_llvm` errors when printing LLVM IR on nightly #575

Closed Zentrik closed 2 months ago

Zentrik commented 4 months ago

https://github.com/JuliaLang/julia/commit/db25494f62b78372c745053dc2a0644847bfab33 changed the signature of _dump_function_llvm such that the second argument is no longer world::UInt but now src::Core.CodeInfo.

ERROR: MethodError: no method matching _dump_function_llvm(::Core.MethodInstance, ::UInt64, ::Bool, ::Bool, ::Bool, ::Bool, ::Symbol, ::Base.CodegenParams)
The function `_dump_function_llvm` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  _dump_function_llvm(::Core.MethodInstance, ::Core.CodeInfo, ::Bool, ::Bool, ::Bool, ::Bool, ::Symbol, 
::Base.CodegenParams)
   @ InteractiveUtils C:\Users\gag\Documents\Code\julia\usr\share\julia\stdlib\v1.12\InteractiveUtils\src\codeview.jl:285

Stacktrace:
  [1] top-level scope
    @ C:\Users\gag\.julia\packages\Cthulhu\8y2RA\src\codeview.jl:25
  [2] top-level scope
    @ C:\Users\gag\.julia\packages\Cthulhu\8y2RA\src\codeview.jl:25
  [3] top-level scope
    @ C:\Users\gag\.julia\packages\Cthulhu\8y2RA\src\Cthulhu.jl:740
  [4] top-level scope
    @ C:\Users\gag\.julia\packages\Cthulhu\8y2RA\src\Cthulhu.jl:397
  [5] top-level scope
    @ C:\Users\gag\.julia\packages\Cthulhu\8y2RA\src\Cthulhu.jl:791
  [6] top-level scope
    @ C:\Users\gag\.julia\packages\Cthulhu\8y2RA\src\Cthulhu.jl:791
  [7] top-level scope
    @ C:\Users\gag\.julia\packages\Cthulhu\8y2RA\src\Cthulhu.jl:807
  [8] top-level scope
    @ C:\Users\gag\.julia\packages\Cthulhu\8y2RA\src\Cthulhu.jl:804
  [9] __descend_with_error_handling(args::Any; terminal::Any, kwargs...)
    @ Cthulhu C:\Users\gag\.julia\packages\Cthulhu\8y2RA\src\Cthulhu.jl:222
 [10] top-level scope
    @ C:\Users\gag\.julia\packages\Cthulhu\8y2RA\src\Cthulhu.jl:219
 [11] top-level scope
    @ C:\Users\gag\.julia\packages\Cthulhu\8y2RA\src\Cthulhu.jl:211
 [12] top-level scope
    @ C:\Users\gag\.julia\packages\Cthulhu\8y2RA\src\Cthulhu.jl:203
 [13] top-level scope
    @ C:\Users\gag\.julia\packages\Cthulhu\8y2RA\src\Cthulhu.jl:169
 [14] top-level scope
    @ C:\Users\gag\.julia\packages\Cthulhu\8y2RA\src\Cthulhu.jl:169
 [15] top-level scope
    @ REPL[31]:1