[Lldb-commits] [lldb] e338ca7 - [lldb] Fix FreeBSD build for ea3a547

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 16 04:51:48 PDT 2020


Author: Pavel Labath
Date: 2020-10-16T13:50:53+02:00
New Revision: e338ca7bced14277b703325537b89d9d9674a2c6

URL: https://github.com/llvm/llvm-project/commit/e338ca7bced14277b703325537b89d9d9674a2c6
DIFF: https://github.com/llvm/llvm-project/commit/e338ca7bced14277b703325537b89d9d9674a2c6.diff

LOG: [lldb] Fix FreeBSD build for ea3a547

Added: 
    

Modified: 
    lldb/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_mips64.h

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_mips64.h b/lldb/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_mips64.h
index 432bfdc97402..be404cc08c34 100644
--- a/lldb/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_mips64.h
+++ b/lldb/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_mips64.h
@@ -13,6 +13,8 @@
 #include "Plugins/Process/Utility/lldb-mips-freebsd-register-enums.h"
 #include "RegisterContextPOSIX.h"
 
+class ProcessMonitor;
+
 class RegisterContextPOSIXProcessMonitor_mips64
     : public RegisterContextPOSIX_mips64,
       public POSIXBreakpointProtocol {
@@ -73,7 +75,7 @@ class RegisterContextPOSIXProcessMonitor_mips64
 
 private:
   uint64_t 
-  m_gpr_mips64[k_num_gpr_registers_mips64]; // general purpose registers.
+  m_gpr_mips64[lldb_private::k_num_gpr_registers_mips64]; // general purpose registers.
   ProcessMonitor &GetMonitor();
 };
 


        


More information about the lldb-commits mailing list