diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-04-15 19:04:46 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-04-15 19:04:46 +0000 |
commit | f59c1a6d27ff23fb0ea1f5b94be0e1dc866f68b9 (patch) | |
tree | e88cfe75601cb84474d12ba62d6c03b43ea426bd /lib/CodeGen | |
parent | 33af70f0f003d9765b92621f4fdd801e2b6c0ae7 (diff) |
Fix alignment on obj_msgrefs to match llvm-gcc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69199 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/CGObjCMac.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp index e1b14913cd..90ef11e55a 100644 --- a/lib/CodeGen/CGObjCMac.cpp +++ b/lib/CodeGen/CGObjCMac.cpp @@ -4989,8 +4989,7 @@ CodeGen::RValue CGObjCNonFragileABIMac::EmitMessageSend( Name, &CGM.getModule()); GV->setVisibility(llvm::GlobalValue::HiddenVisibility); - GV->setAlignment( - CGM.getTargetData().getPrefTypeAlignment(ObjCTypes.MessageRefTy)); + GV->setAlignment(16); GV->setSection("__DATA, __objc_msgrefs, coalesced"); UsedGlobals.push_back(GV); } |