This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Move ObjectFileJIT to lldbExpression
ClosedPublic

Authored by bulbazord on Mar 28 2023, 2:08 PM.

Details

Summary

In the spirit of not having lldbExpression rely on plugins, this move
makes the most sense. ObjectFileJIT is not really a "plugin" in the
sense that without it, expression evaluation doesn't work at all. This
is different than something like ObjectFileELF where lldb can still
technically debug non-ELF targets without it. For that reason, moving
ObjectFileJIT into Expression where it will be used in conjunction with
IRExecutionUnit makes the most sense.

Diff Detail

Event Timeline

bulbazord created this revision.Mar 28 2023, 2:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 28 2023, 2:08 PM
bulbazord requested review of this revision.Mar 28 2023, 2:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 28 2023, 2:08 PM
labath accepted this revision.Mar 29 2023, 9:44 AM

Makes sense to me. Thanks!

This revision is now accepted and ready to land.Mar 29 2023, 9:44 AM
JDevlieghere accepted this revision.Mar 30 2023, 12:42 PM
This revision was automatically updated to reflect the committed changes.
lldb/source/Expression/ObjectFileJIT.cpp