summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips64.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips64.cpp')
-rw-r--r--lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips64.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips64.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips64.cpp
index 3e89d019325..9b328e5436a 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips64.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips64.cpp
@@ -41,8 +41,8 @@ typedef struct _FPR
} FPR;
// Computes the offset of the given GPR/FPR in the user data area.
-#define GPR_OFFSET(regname) (offsetof(GPR, regname))
-#define FPR_OFFSET(regname) (offsetof(FPR, regname))
+#define GPR_OFFSET(regname) (LLVM_EXTENSION offsetof(GPR, regname))
+#define FPR_OFFSET(regname) (LLVM_EXTENSION offsetof(FPR, regname))
// Note that the size and offset will be updated by platform-specific classes.
#define DEFINE_GPR(member, reg, alt, kind1, kind2, kind3, kind4) \
OpenPOWER on IntegriCloud