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

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 15 02:24:56 PDT 2023


DavidSpickett marked an inline comment as done.
DavidSpickett added inline comments.


================
Comment at: lldb/include/lldb/Target/UnixSignals.h:127
+  struct SignalCode {
+    ConstString m_description;
+    SignalCodePrintOption m_print_option;
----------------
labath wrote:
> I think we should just make strings out of these, particularly since we now also have a map here. It's not like this is extremely performance-sensitive code.
Make strings in what way exactly. I used an enum just so it was harder to make a typo and not realise.


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