[Lldb-commits] [PATCH] D31172: Move stop info override callback code from ArchSpec into Process

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 23 10:27:56 PDT 2017

clayborg added a comment.

It almost seems like we need some sort of an architecture plug-in here. Maybe something like Architecture plugins. The Architecture::FindPlugin() would take an ArchSpec and return a lldb_private::Architecture class instance that can be cached in the target or process. Currently the class would look like:

  class Architecture : public PluginInterface {
    Error StopInfoOverride(...);

Then using the target's arch, it can lookup the right one and cache it in the target or process?


More information about the lldb-commits mailing list