summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/ValueObjectPrinter.cpp
diff options
context:
space:
mode:
authorJames Y Knight <jyknight@google.com>2015-06-17 01:21:20 +0000
committerJames Y Knight <jyknight@google.com>2015-06-17 01:21:20 +0000
commit8096d34e5f14cc4ba65a052376459d714b995795 (patch)
treeba5e6e2cef6279f58ecfc981bb78f6ab9a756bd2 /lldb/source/DataFormatters/ValueObjectPrinter.cpp
parent456baad24d620e2e1feb39436ef861491cca2736 (diff)
downloadbcm5719-llvm-8096d34e5f14cc4ba65a052376459d714b995795.tar.gz
bcm5719-llvm-8096d34e5f14cc4ba65a052376459d714b995795.zip
Fix alignment issues in LLVM.
Adds static_asserts to ensure alignment of concatenated objects is correct, and fixes them where they are not. Also changes the definition of AlignOf to use constexpr, except on MSVC, to avoid enum comparison warnings from GCC. (There's not too much of this in llvm itself, most of the fun is in clang). This seems to make LLVM actually work without Bus Error on 32bit sparc. Differential Revision: http://reviews.llvm.org/D10271 llvm-svn: 239872
Diffstat (limited to 'lldb/source/DataFormatters/ValueObjectPrinter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud