Skip to content

Frontend: support dumping the JIT state #33301

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

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Aug 4, 2020

Add a debugging mechanism that enables the JIT to dump the LLVM IR and
object files to enable debugging the JIT. This makes it easier to debug
the JIT mode failures. The idea was from Lang Hames!

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@compnerd
Copy link
Member Author

compnerd commented Aug 4, 2020

CC: @lhames @DougGregor

Copy link
Contributor

@CodaFi CodaFi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nifty idea

@lhames
Copy link
Contributor

lhames commented Aug 4, 2020

Nice! Thanks @compnerd.

@CodaFi
Copy link
Contributor

CodaFi commented Aug 4, 2020

@swift-ci test

@swift-ci
Copy link
Contributor

swift-ci commented Aug 5, 2020

Build failed
Swift Test OS X Platform
Git Sha - 46662af07d4334cc73f1316a2eccd33d05f9fb51

Add a debugging mechanism that enables the JIT to dump the LLVM IR and
object files to enable debugging the JIT.  This makes it easier to debug
the JIT mode failures.  The idea was from Lang Hames!
@compnerd compnerd force-pushed the jit-state-of-mind branch from 46662af to 8d21750 Compare August 5, 2020 16:14
@compnerd
Copy link
Member Author

compnerd commented Aug 5, 2020

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Aug 5, 2020

Build failed
Swift Test Linux Platform
Git Sha - 46662af07d4334cc73f1316a2eccd33d05f9fb51

@swift-ci
Copy link
Contributor

swift-ci commented Aug 5, 2020

Build failed
Swift Test OS X Platform
Git Sha - 46662af07d4334cc73f1316a2eccd33d05f9fb51

@CodaFi
Copy link
Contributor

CodaFi commented Aug 5, 2020

@CodaFi CodaFi merged commit c64ca9a into swiftlang:master Aug 5, 2020
@compnerd compnerd deleted the jit-state-of-mind branch August 5, 2020 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants