diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-03-17 17:37:17 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-03-17 17:37:17 +0000 |
commit | 5121c9aa92b85e4a4713e872ea45c8b2ebde0f9d (patch) | |
tree | bea3a90f2b67a03b0c42e67c458259b93ec3b6d8 /lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips64.cpp | |
parent | 27c50f4f0250a9ccc839c3487b46b3d50a0c4163 (diff) | |
download | bcm5719-llvm-5121c9aa92b85e4a4713e872ea45c8b2ebde0f9d.tar.gz bcm5719-llvm-5121c9aa92b85e4a4713e872ea45c8b2ebde0f9d.zip |
Fix the clang -Werror build by suppressing -Wextended-offsetof
llvm-svn: 232507
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips64.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips64.cpp | 4 |
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) \ |