[Lldb-commits] [lldb] [LLDB][ELF Core] Support all the Generic (Negative) SI Codes. (PR #140150)

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Fri May 16 15:56:10 PDT 2025


Jlalond wrote:

@labath 

I refactored to the best of my ability the signal parsing. Thankfully even getting `thread siginfo` working.

However I'm unhappy with how I'm handling the ValueObject in the Linux Signals, I couldn't find an easy way to make this into some generic siginfo linux type, so I'm directly accessing members. While it's good I made a better way of doing this, I feel this is worse in terms of safety due to having to explore the ValueObject hierarchy. Any advice here?

Secondly, while testing I found the layout in the valueobject differs to the `siginfo_t` on my machine in some subtle ways. Even if the Core was generated on my machine.

https://github.com/llvm/llvm-project/pull/140150


More information about the lldb-commits mailing list