[Lldb-commits] [PATCH] D113098: [lldb] (Partially) enable formatting of utf strings before the program is started

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 3 09:30:52 PDT 2021


labath added a comment.

In D113098#3105906 <https://reviews.llvm.org/D113098#3105906>, @ljmf00 wrote:

> In D113098#3105809 <https://reviews.llvm.org/D113098#3105809>, @labath wrote:
>
>> bug reported in PR45856.
>
> Thanks for your time fixing this. So, for better understanding, does the infrastructure behind LLDB, Target and Process have similar APIs but Process is just for the running state?

Not exactly. It's true that a Process represents the running state of the application, and that both of them can read memory (process always reads live memory while a target can optionally return data from the object file), but that's pretty much where the similarities end. Process' methods generally concern the running of the application, so you have things that deal with stdio, signals, threads, etc. OTOH, a target works with the object files, and the debug info contained therein (breakpoints, modules, symbols, ...).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113098



More information about the lldb-commits mailing list