[Lldb-commits] [PATCH] D146044: [lldb] Implement CrashReason using UnixSignals

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 16 05:47:25 PDT 2023


DavidSpickett marked 2 inline comments as done.
DavidSpickett added inline comments.


================
Comment at: lldb/source/Plugins/Process/Utility/FreeBSDSignals.cpp:14
 FreeBSDSignals::FreeBSDSignals() : UnixSignals() { Reset(); }
 
 void FreeBSDSignals::Reset() {
----------------
DavidSpickett wrote:
> arichardson wrote:
> > I wonder if it would make sense to do something like the following to ensure we use the same numbers as defined in FreeBSD (compile-time checks when building on a FreeBSD host). The it would be possible to use 
> > `FREEBSD_ILL_ILLOPC` instead of `1 /*ILL_ILLOPC*/` below
> This is a cool idea, I'll give this a go (maybe as a follow up change).
https://reviews.llvm.org/D146222


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146044



More information about the lldb-commits mailing list