forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inference timing: add a backtrace to head node (JuliaLang#38123)
This allows one to identify the caller of runtime-dispatched methods. This can help detect inference problems and know where to fix them. Only "head" nodes (entries into type inference) have backtraces. We avoid doing any processing of the backtrace here, as instruction-pointer lookup is extremely expensive and we don't even know if the information will be used.
- Loading branch information
Showing
2 changed files
with
24 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters