diff options
author | David Terei <davidterei@gmail.com> | 2010-06-18 09:32:05 +0000 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2010-06-18 09:32:05 +0000 |
commit | 24a3fee9f3ff6cef6fe471ab6f0a7ba9ac001faf (patch) | |
tree | fe36d4be479d7b798cb89bb4115460d3dbcf337d /compiler/llvmGen/Llvm.hs | |
parent | 1d8585bc1160be0c21c34d1f9d9c62e22b3948a8 (diff) | |
download | haskell-24a3fee9f3ff6cef6fe471ab6f0a7ba9ac001faf.tar.gz |
Add support of TNTC to llvm backend
We do this through a gnu as feature called subsections,
where you can put data/code into a numbered subsection
and those subsections will be joined together in descending
order by gas at compile time.
Diffstat (limited to 'compiler/llvmGen/Llvm.hs')
-rw-r--r-- | compiler/llvmGen/Llvm.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/llvmGen/Llvm.hs b/compiler/llvmGen/Llvm.hs index 7a322bd86f..8291d9868f 100644 --- a/compiler/llvmGen/Llvm.hs +++ b/compiler/llvmGen/Llvm.hs @@ -28,15 +28,15 @@ module Llvm ( -- * Variables and Type System LlvmVar(..), LlvmStatic(..), LlvmLit(..), LlvmType(..), - LMGlobal, LMString, LMConstant, + LMGlobal, LMString, LMConstant, LMSection, LMAlign, -- ** Some basic types - i64, i32, i16, i8, i1, llvmWord, llvmWordPtr, + i64, i32, i16, i8, i1, i8Ptr, llvmWord, llvmWordPtr, -- ** Operations on the type system. isGlobal, getLitType, getLit, getName, getPlainName, getVarType, - getStatType, getGlobalVar, getGlobalType, pVarLower, pLift, pLower, - isInt, isFloat, isPointer, llvmWidthInBits, + getLink, getStatType, getGlobalVar, getGlobalType, pVarLift, pVarLower, + pLift, pLower, isInt, isFloat, isPointer, llvmWidthInBits, -- * Pretty Printing ppLlvmModule, ppLlvmComments, ppLlvmComment, ppLlvmConstants, |