[Lldb-commits] [PATCH] D127048: [lldb] Set COFF and PDB module env from default target triple

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 6 03:58:53 PDT 2022


DavidSpickett added a comment.

> This changes the PE/COFF and PDB plugins to set the module triple according to the default target triple used to build LLDB.

I'm missing some context here but using triple used when *building* lldb seems to conflict with the idea that the same lldb (client at least) can be used to debug many architectures.

Or is this not a concern because remote debugging is not a thing for Windows? For instance, is it possible that I'm on Linux with some AArch64 linux targeted lldb trying to remote debug a windows system. If the default triple is the best signal you've got then fair enough I guess just wanted to check there wasn't some more dynamic way to get it.

And I assume PE/COFF have no embedded flag in them to indicate this ABI?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127048/new/

https://reviews.llvm.org/D127048



More information about the lldb-commits mailing list