This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Register the GDB listener with ExecutionEngine to enable debugging JIT'd code
ClosedPublic

Authored by rriddle on Feb 3 2020, 3:15 PM.

Diff Detail

Event Timeline

rriddle created this revision.Feb 3 2020, 3:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2020, 3:15 PM

Unit tests: pass. 62405 tests passed, 0 failed and 839 were skipped.

clang-tidy: pass.

clang-format: pass.

Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project.

nicolasvasilache accepted this revision.Feb 5 2020, 4:56 PM

Great, thanks @rriddle !

This revision is now accepted and ready to land.Feb 5 2020, 4:56 PM
This revision was automatically updated to reflect the committed changes.

This broke BUILD_SHARED_LIBS=on, and I have submitted a fix.

@lhames just for some examples of debugging and orc jit