-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
debug info for pre-compiled code #5354
Comments
This also breaks the helpful message for DomainError for |
Presumably, the |
I'm actually not sure why it doesn't. The module still has it just before emitting it. Are we actively stripping debug info somewhere? |
We look for line number info in our own map built by a JIT event listener. |
Fair enough, but that doesn't explain why sys.bc doesn't contain any debug info, even though it's in the source module. |
I'll have a look at what LLVM gives us. |
I thought this was already fixed (see for example #5502) |
We still don't do it for our own backtraces. We still need to read in the DWARF info. |
What should be done with the reloaded info? It seems awkward - but possible - to put it back into the |
This is fixed for mac and linux in c77e098. Tabled for now on Windows, see discussion in 6490. |
The static compilation process doesn't save all of our debug info. I hope in the near future we will handle this using the DWARF data, but for now we could just dump our table of line numbers and offsets.
For example:
After removing
sys.so
:The text was updated successfully, but these errors were encountered: