mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
ARM AAPCS abi (Linux, etc.) requires 8-byte double / long alignment; Mac
requires 4-bytes alignment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33448 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -35,8 +35,8 @@ namespace {
|
|||||||
ARMTargetMachine::ARMTargetMachine(const Module &M, const std::string &FS)
|
ARMTargetMachine::ARMTargetMachine(const Module &M, const std::string &FS)
|
||||||
: Subtarget(M, FS),
|
: Subtarget(M, FS),
|
||||||
DataLayout(Subtarget.isTargetDarwin() ?
|
DataLayout(Subtarget.isTargetDarwin() ?
|
||||||
std::string("e-p:32:32-d:32-l:32") :
|
std::string("e-p:32:32-d:32:32-l:32:32") :
|
||||||
std::string("e-p:32:32-d:64-l:64")),
|
std::string("e-p:32:32-d:32:64-l:32:64")),
|
||||||
InstrInfo(Subtarget),
|
InstrInfo(Subtarget),
|
||||||
FrameInfo(Subtarget) {}
|
FrameInfo(Subtarget) {}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user