[Lldb-commits] [lldb] [LLDB][ProcessELFCore] Add Description to ProcessELFCore/ELFThread stop reasons (PR #110065)
Jacob Lalonde via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 7 11:59:32 PDT 2024
================
@@ -145,6 +164,7 @@ struct ThreadData {
int signo = 0;
int code = 0;
int prstatus_sig = 0;
+ std::string description;
----------------
Jlalond wrote:
I'm going to lightly push back on this. ProcessElfCore currently depends a lot on threaddata, not just for populating the thread but for some ELF specific logic.
I think what we could do is forego having ELFSigInfo populate itself and instead directly populate threaddata, which prevents us from double allocating, then we can have `ThreadElfCore` continue creating a `StopInfoSP` in `CalculateStopInfo`.
https://github.com/llvm/llvm-project/pull/110065
More information about the lldb-commits
mailing list