[Lldb-commits] [PATCH] D147300: [lldb] Fix build on older FreeBSD

Brooks Davis via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 4 13:22:07 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGc0df412ad2a5: [lldb] Fix build on older FreeBSD (authored by brooks).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147300

Files:
  lldb/source/Plugins/Process/Utility/FreeBSDSignals.cpp


Index: lldb/source/Plugins/Process/Utility/FreeBSDSignals.cpp
===================================================================
--- lldb/source/Plugins/Process/Utility/FreeBSDSignals.cpp
+++ lldb/source/Plugins/Process/Utility/FreeBSDSignals.cpp
@@ -11,6 +11,10 @@
 #ifdef __FreeBSD__
 #include <csignal>
 
+#ifndef FPE_FLTIDO
+#define FPE_FLTIDO 9
+#endif
+
 #define ADD_SIGCODE(signal_name, signal_value, code_name, code_value, ...)     \
   static_assert(signal_name == signal_value,                                   \
                 "Value mismatch for signal number " #signal_name);             \


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147300.510912.patch
Type: text/x-patch
Size: 607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230404/1fbc3bf9/attachment.bin>


More information about the lldb-commits mailing list