llvm-6502/include/llvm
James Y Knight 4a80b4b0c0 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239872 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-17 01:21:20 +00:00
..
ADT Add 'shave' processor name to Triple 2015-06-12 18:31:38 +00:00
Analysis Fix PR 23525 - Separate header mass propagation in irregular loops. 2015-06-16 19:10:58 +00:00
AsmParser
Bitcode Use std::unique_ptr to manage the DataStreamer in bitcode parsing. 2015-06-16 23:29:49 +00:00
CodeGen Rename and improve emitSectionOffset. 2015-06-16 23:22:02 +00:00
Config
DebugInfo Re-unique_ptrify LoadedObjectInfo::clone after it was reverted due to some other changes that broke on GCC around the same time 2015-06-04 20:54:32 +00:00
ExecutionEngine [ExecutionEngine] ArrayRefize argument passing. 2015-06-13 19:50:29 +00:00
IR Fix alignment issues in LLVM. 2015-06-17 01:21:20 +00:00
IRReader
LibDriver LibDriver, llvm-lib: introduce. 2015-06-09 21:50:22 +00:00
LineEditor
Linker
LTO
MC Recommit r239721: Replace string GNU Triples with llvm::Triple in InitMCObjectFileInfo. NFC. 2015-06-16 12:18:07 +00:00
Object Avoid a "always true" warning from gcc. 2015-06-15 14:49:41 +00:00
Option
Passes
ProfileData
Support Fix alignment issues in LLVM. 2015-06-17 01:21:20 +00:00
TableGen [TableGen] Remove unused method declaration. NFC 2015-06-16 05:44:06 +00:00
Target TargetRegisterInfo: Make the concept of imprecise lane masks explicit 2015-06-16 18:22:26 +00:00
Transforms Refactor RecurrenceInstDesc 2015-06-16 22:59:45 +00:00
CMakeLists.txt
InitializePasses.h Protection against stack-based memory corruption errors using SafeStack 2015-06-15 21:07:11 +00:00
LinkAllIR.h
LinkAllPasses.h Protection against stack-based memory corruption errors using SafeStack 2015-06-15 21:07:11 +00:00
module.modulemap modules: Mark CodeGen/DIEValues.def as a textual inclusion 2015-06-16 00:43:52 +00:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h