summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2017-11-15 03:41:47 +0000
committerJason Molenda <jmolenda@apple.com>2017-11-15 03:41:47 +0000
commitfd6647ecb6e512255e4a5e996387845c51e1fbf7 (patch)
tree8853fc353af3debbe6f5f3845dd50d5a1293a680 /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
parent6a40b2d0a5851f57541aaf8ae3d2e9dfe3f6cd2f (diff)
downloadbcm5719-llvm-fd6647ecb6e512255e4a5e996387845c51e1fbf7.tar.gz
bcm5719-llvm-fd6647ecb6e512255e4a5e996387845c51e1fbf7.zip
Roll back r318260 because it is causing the windows bot to
break. The alignas(__uint128_t) is not recognized with MSVC it looks like. Zachary, is there a similar type on windows? I suppose I can go with alignas(16) here but I'd prefer to specify the type alignment that I want & let the ABI dictate how much padding is required. llvm-svn: 318262
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp')
-rw-r--r--lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
index df334f88ee3..0b6259159d7 100644
--- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
@@ -686,7 +686,7 @@ public:
case FPURegSet: {
uint8_t *fpu_reg_buf = (uint8_t *)&fpu.v[0];
const int fpu_reg_buf_size = sizeof(fpu);
- if (fpu_reg_buf_size == count * sizeof(uint32_t) &&
+ if (fpu_reg_buf_size == count &&
data.ExtractBytes(offset, fpu_reg_buf_size, eByteOrderLittle,
fpu_reg_buf) == fpu_reg_buf_size) {
SetError(FPURegSet, Read, 0);
OpenPOWER on IntegriCloud