[commit: ghc] master: Add iOS specific module layout entry to LLVM codegen; fixes #7721 (5f261b4)
Ian Lynagh
igloo at earth.li
Sat Mar 2 18:07:44 CET 2013
Repository : http://darcs.haskell.org/ghc.git/
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/5f261b483b1792026065e4cec967db79adb2748d
>---------------------------------------------------------------
commit 5f261b483b1792026065e4cec967db79adb2748d
Author: Ian Lynagh <ian at well-typed.com>
Date: Sat Mar 2 15:12:03 2013 +0000
Add iOS specific module layout entry to LLVM codegen; fixes #7721
Patch from Stephen Blackheath
>---------------------------------------------------------------
compiler/llvmGen/LlvmCodeGen/Ppr.hs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/compiler/llvmGen/LlvmCodeGen/Ppr.hs b/compiler/llvmGen/LlvmCodeGen/Ppr.hs
index 5d9fb23..c699631 100644
--- a/compiler/llvmGen/LlvmCodeGen/Ppr.hs
+++ b/compiler/llvmGen/LlvmCodeGen/Ppr.hs
@@ -61,6 +61,9 @@ moduleLayout = sdocWithPlatform $ \platform ->
Platform { platformArch = ArchARM {}, platformOS = OSAndroid } ->
text "target datalayout = \"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32\""
$+$ text "target triple = \"arm-unknown-linux-androideabi\""
+ Platform { platformArch = ArchARM {}, platformOS = OSiOS } ->
+ text "target datalayout = \"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32\""
+ $+$ text "target triple = \"arm-apple-darwin10\""
_ ->
-- FIX: Other targets
empty
More information about the ghc-commits
mailing list