[Lldb-commits] [PATCH] D146222: [lldb] Add compile time checks for signal codes when on the matching platform

Alexander Richardson via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 16 17:52:44 PDT 2023


arichardson accepted this revision.
arichardson added a comment.
This revision is now accepted and ready to land.

Much neater than my initial suggestion. LGTM



================
Comment at: lldb/source/Plugins/Process/Utility/LinuxSignals.cpp:14
+
+#ifndef SEGV_BNDERR
+#define SEGV_BNDERR 3
----------------
I guess these are needed to support older versions that don't have the defines yet?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146222



More information about the lldb-commits mailing list